mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-11 11:35:28 +01:00
038d7dd90c
* Updates for verfied tags deletion. * Remove old UI. * Move i18n folder. * Updates for latest UI codes. * make travis with latest dev code. * update test code * add cat log * cat nginx * cat nginx * fix template error * remove --with-notary * remove controller test * fix controller test bug * modify controller test * debug controller test * update controller test * update index title to harbor, discussed with Kun. * Update package.json * Merge latest UI changes. * remove git
26 lines
299 B
Bash
26 lines
299 B
Bash
#!/bin/bash
|
|
set -e
|
|
|
|
cd /clarity-seed
|
|
rm -rf dist/*
|
|
|
|
npm_proxy=
|
|
|
|
while getopts p: option
|
|
do
|
|
case "${option}"
|
|
in
|
|
p) npm_proxy=${OPTARG};;
|
|
esac
|
|
done
|
|
|
|
if [ ! -z "$npm_proxy" -a "$npm_proxy" != " " ]; then
|
|
npm config set proxy $npm_proxy
|
|
fi
|
|
|
|
npm install
|
|
ng build
|
|
|
|
cp -r ./src/i18n/ dist/
|
|
|