misc: simplify the build scripts

This commit is contained in:
Andrey Antukh 2019-07-19 08:37:21 +00:00
parent 53e74ec5cd
commit 3f62d7cb65
6 changed files with 22 additions and 37 deletions

View file

@ -1,8 +1,13 @@
#!/usr/bin/env bash
source ~/.bashrc
set -ex
npm ci
npm run dist:clean || exit 1;
npm run dist:assets || exit 1;
npm run dist:all || exit 1;
export NODE_ENV=production;
npx gulp dist:clean || exit 1;
npx gulp dist || exit 1;
clojure -Adev tools.clj dist-all