Files
gradle-build-tools-actions/build
T

37 lines
638 B
Python
Raw Normal View History

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