mirror of
https://github.com/penpot/penpot.git
synced 2025-05-28 12:56:12 +02:00
✨ Adapt frontend build process to the scss modules
This commit is contained in:
parent
836b4538dd
commit
8caeaefa98
3 changed files with 22 additions and 22 deletions
|
@ -8,11 +8,13 @@ CURRENT_HASH=${CURRENT_HASH:-$(git rev-parse --short HEAD)};
|
|||
EXTRA_PARAMS=$SHADOWCLJS_EXTRA_PARAMS;
|
||||
|
||||
yarn install || exit 1;
|
||||
npx gulp clean || exit 1;
|
||||
yarn run build:clean || exit 1;
|
||||
yarn run build:styles || exit 1;
|
||||
|
||||
clojure -J-Xms100M -J-Xmx800M -J-XX:+UseSerialGC -M:dev:shadow-cljs release main --config-merge "{:release-version \"${CURRENT_HASH}\"}" $EXTRA_PARAMS || exit 1
|
||||
npx gulp build || exit 1;
|
||||
npx gulp dist:clean || exit 1;
|
||||
npx gulp dist:copy || exit 1;
|
||||
|
||||
yarn run build:assets || exit 1;
|
||||
yarn run build:copy || exit 1;
|
||||
|
||||
sed -i -re "s/\%version\%/$CURRENT_VERSION/g" ./target/dist/index.html;
|
||||
sed -i -re "s/\%buildDate\%/$BUILD_DATE/g" ./target/dist/index.html;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue