mirror of
https://github.com/penpot/penpot.git
synced 2025-01-10 17:00:36 -05:00
f57ce57cb3
- Migrate to from ubuntu to debian. - Add new buildenv image. - Remove production images building from this repo. - Better comaptibility with other architectures (arm64). - Improved config management.
16 lines
280 B
Bash
Executable file
16 lines
280 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
source ~/.bashrc
|
|
export NODE_ENV=production;
|
|
|
|
set -ex
|
|
|
|
npx gulp dist:clean || exit 1;
|
|
npx gulp dist || exit 1;
|
|
|
|
cp -r ./target/dist ./target/dist2
|
|
mv ./target/dist2 ./target/dist/dbg
|
|
|
|
clojure -Adev tools.clj dist:all || exit 1;
|
|
|
|
npx gulp dist:gzip || exit 1;
|