mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-04-27 07:26:15 -04:00
Build 29035725
This commit is contained in:
parent
a1bf54af71
commit
819197031f
64 changed files with 3494 additions and 6921 deletions
9
build.sh
9
build.sh
|
@ -35,10 +35,10 @@ sed -i -e "s/^[[:space:]]*versionCode = .*/ versionCode = $versionCode/"
|
|||
-e "s/^[[:space:]]*versionName = .*/ versionName = \"$versionCode\"/" \
|
||||
./app/build.gradle.kts
|
||||
|
||||
echo "\"$versionCode\"" > src/version.json
|
||||
echo "\"$versionCode\"" > src/data/version.json
|
||||
|
||||
# Update service worker
|
||||
sed -i -e "s/VERSION = .*/ VERSION = '$versionCode'/" ./src/sw-b71.js
|
||||
sed -i -e "s/VERSION = .*/ VERSION = '$versionCode'/" ./src/PWA/sw-b71.js
|
||||
|
||||
|
||||
|
||||
|
@ -48,8 +48,9 @@ find -name '*.jp*g' -o -name '*.png' | xargs exiftool -all=
|
|||
|
||||
npx prettier --write src/
|
||||
|
||||
npm run build
|
||||
|
||||
npx jest
|
||||
rm -rf dist/*
|
||||
npx parcel build src/index.html
|
||||
rm -rf ./app/src/main/assets/*
|
||||
cp public/* dist
|
||||
rm -rf ./app/src/main/assets/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue