Files
gradle-build-tools-actions/build
T

30 lines
514 B
Python
Raw Normal View History

#!/bin/bash
cd sources
case "$1" in
all)
2024-04-12 09:15:19 -06:00
npm clean-install
2024-04-24 13:19:07 +01:00
npm run all
;;
act)
# Build and copy outputs to the dist directory
2024-04-12 09:15:19 -06:00
npm install
npm run build
cd ..
cp -r sources/dist .
# Run act
$@
# Revert the changes to the dist directory
git co -- dist
;;
2024-04-12 09:15:19 -06:00
init-scripts)
cd test/init-scripts
./gradlew check
;;
*)
2024-04-12 09:15:19 -06:00
npm install
npm run build
;;
2024-04-24 13:19:07 +01:00
esac