- Move emscripten download into its own script - Refactor the common "CI choice" prompt into its own file. - Move the content of `build/common/ci-common.sh` to the "CI choice" script. - Mention the get-emscripten.sh script in BUILDING.md
20 lines
488 B
Bash
20 lines
488 B
Bash
echo "This script is intended to run in a CI environment and may modify your current environment."
|
|
echo "Please refer to BUILDING.md for more information."
|
|
|
|
read -r -p "Do you wish to proceed (y/n)? " choice
|
|
case "${choice}" in
|
|
y|Y)
|
|
echo "Build will proceed..."
|
|
;;
|
|
n|N)
|
|
exit 0
|
|
;;
|
|
*)
|
|
exit 0
|
|
;;
|
|
esac
|
|
|
|
if [[ "$GITHUB_WORKFLOW" ]]; then
|
|
echo "Running workflow $GITHUB_WORKFLOW (event: $GITHUB_EVENT_NAME, action: $GITHUB_ACTION)"
|
|
fi
|