mirror of
https://github.com/penpot/penpot.git
synced 2025-12-11 22:14:05 +01:00
misc: simplify the build scripts
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user