mirror of
https://github.com/penpot/penpot.git
synced 2025-01-06 14:50:20 -05:00
✨ Add minor improvements on frontend and exporter builds
This commit is contained in:
parent
bc91c46a9a
commit
0b53dc627f
2 changed files with 9 additions and 5 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
set -ex
|
||||
|
||||
CURRENT_VERSION=$1;
|
||||
export CURRENT_VERSION=$1;
|
||||
|
||||
yarn install
|
||||
rm -rf target
|
||||
|
|
|
@ -2,10 +2,14 @@
|
|||
|
||||
set -ex
|
||||
|
||||
CURRENT_VERSION=$1;
|
||||
BUILD_DATE=$(date -R);
|
||||
CURRENT_HASH=${CURRENT_HASH:-$(git rev-parse --short HEAD)};
|
||||
EXTRA_PARAMS=$SHADOWCLJS_EXTRA_PARAMS;
|
||||
export CURRENT_VERSION=$1;
|
||||
export BUILD_DATE=$(date -R);
|
||||
export CURRENT_HASH=${CURRENT_HASH:-$(git rev-parse --short HEAD)};
|
||||
export EXTRA_PARAMS=$SHADOWCLJS_EXTRA_PARAMS;
|
||||
|
||||
# Some cljs reacts on this environment variable for define more
|
||||
# performant code on macros (example: rumext)
|
||||
export NODE_ENV=production;
|
||||
|
||||
yarn install || exit 1;
|
||||
yarn run build:clean || exit 1;
|
||||
|
|
Loading…
Reference in a new issue