0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-10 17:00:36 -05:00
penpot/frontend/scripts/build-app.sh
Andrey Antukh f57ce57cb3 ♻️ Refactor on docker and build scripts.
- 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.
2020-01-20 13:26:37 +01:00

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;