Update build script and contribution guide

This commit is contained in:
daz
2024-04-12 09:15:19 -06:00
parent 248dd904ed
commit d0f2f0387e
2 changed files with 17 additions and 3 deletions

8
build
View File

@@ -1,14 +1,15 @@
#!/bin/bash
cd sources
npm install
case "$1" in
all)
npm clean-install
nprm run all
;;
act)
# Build and copy outputs to the dist directory
npm install
npm run build
cd ..
cp -r sources/dist .
@@ -17,7 +18,12 @@ case "$1" in
# Revert the changes to the dist directory
git co -- dist
;;
init-scripts)
cd test/init-scripts
./gradlew check
;;
*)
npm install
npm run build
;;
esac