mirror of
https://github.com/hanzozt/console.git
synced 2026-10-30 18:15:39 +00:00
- Repo names: ziti-* → zt-* - Go modules: github.com/hanzozt/ziti → github.com/hanzozt/zt - Docker images: hanzozt/ziti-* → hanzozt/zt-* - C/Java/JS symbols: ziti_* → zt_* - File and directory names updated
17 lines
358 B
Bash
Executable File
17 lines
358 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -o errexit
|
|
set -o nounset
|
|
set -o pipefail
|
|
|
|
if ! (( $# ))
|
|
then
|
|
echo "usage: $0 <base-href>"
|
|
exit 1
|
|
fi
|
|
|
|
npm install
|
|
npm install -g @angular/[email protected]
|
|
# WARN: deployUrl deprecated since Angular 13, pending decommission in future ng CLI
|
|
ng build zt-console --base-href "$1" --deploy-url "$1" --configuration "production"
|