mirror of
https://github.com/penpot/penpot.git
synced 2025-07-29 18:57:22 +02:00
🎉 Add testenv.
This commit is contained in:
parent
ab35716ba2
commit
91aa8862ff
14 changed files with 535 additions and 37 deletions
21
frontend/scripts/build.sh
Executable file
21
frontend/scripts/build.sh
Executable file
|
@ -0,0 +1,21 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
source ~/.bashrc
|
||||
set -ex
|
||||
|
||||
if [ -z "${TAG}" ]; then
|
||||
export TAG=`git log -n 1 --pretty=format:%H -- ./`
|
||||
fi
|
||||
|
||||
yarn install
|
||||
|
||||
export NODE_ENV=production;
|
||||
|
||||
# Clean the output directory
|
||||
npx gulp clean || exit 1;
|
||||
|
||||
npx shadow-cljs release main --config-merge "{:release-version \"${TAG}\"}"
|
||||
npx gulp build || exit 1;
|
||||
npx gulp dist:clean || exit 1;
|
||||
npx gulp dist:copy || exit 1;
|
||||
npx gulp dist:gzip || exit 1;
|
Loading…
Add table
Add a link
Reference in a new issue