Initial commit
This commit is contained in:
Executable
+16
@@ -0,0 +1,16 @@
|
||||
#!/usr/bin/env bash
|
||||
# Clean production build of the website and the API.
|
||||
set -euo pipefail
|
||||
PACKAGE_ONLY=0
|
||||
for arg in "$@"; do
|
||||
case "$arg" in
|
||||
--package-only) PACKAGE_ONLY=1 ;;
|
||||
*) echo "Unknown option: $arg" >&2; exit 2 ;;
|
||||
esac
|
||||
done
|
||||
MODE=production
|
||||
DO_CLEAN=1
|
||||
export MODE DO_CLEAN PACKAGE_ONLY
|
||||
# shellcheck source=scripts/build-common.sh
|
||||
source "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/scripts/build-common.sh"
|
||||
run_flow
|
||||
Reference in New Issue
Block a user