mirror of
https://github.com/penpot/penpot.git
synced 2025-05-10 21:36:36 +02:00
misc: simplify the build scripts
This commit is contained in:
parent
53e74ec5cd
commit
3f62d7cb65
6 changed files with 22 additions and 37 deletions
|
@ -1,7 +1,10 @@
|
|||
#!/usr/bin/env bash
|
||||
source ~/.bashrc
|
||||
|
||||
set -ex;
|
||||
|
||||
npm ci
|
||||
npm run build:test || exit 1;
|
||||
|
||||
clojure -Adev tools.clj build-tests
|
||||
|
||||
node ./target/tests/main
|
||||
|
|
|
@ -1,8 +1,11 @@
|
|||
#!/usr/bin/env bash
|
||||
source ~/.bashrc
|
||||
|
||||
set -ex
|
||||
|
||||
npm ci
|
||||
|
||||
npm run dist:clean || exit 1;
|
||||
npm run build:assets || exit 1;
|
||||
npm run build:all || exit 1;
|
||||
npx gulp dist:clean || exit 1
|
||||
npx gulp dist || exit 1
|
||||
|
||||
clojure -Adev tools.clj build-all || exit 1
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue