frontend
This commit is contained in:
17
maxkey-web-frontend/maxkey-web-mgt-app/scripts/_ci/delon.sh
Normal file
17
maxkey-web-frontend/maxkey-web-mgt-app/scripts/_ci/delon.sh
Normal file
@@ -0,0 +1,17 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# bash ./scripts/_ci/delon.sh
|
||||
|
||||
set -e
|
||||
|
||||
cd $(dirname $0)/../..
|
||||
|
||||
echo "Download latest @delon version"
|
||||
rm -rf delon-builds
|
||||
git clone --depth 1 https://github.com/ng-alain/delon-builds.git
|
||||
rm -rf node_modules/@delon
|
||||
rm -rf node_modules/ng-alain
|
||||
rsync -am delon-builds/ node_modules/
|
||||
NG_ALAIN_VERSION=$(node -p "require('./node_modules/ng-alain/package.json').version")
|
||||
rm -rf delon-builds
|
||||
echo "Using ng-alain version: ${NG_ALAIN_VERSION}"
|
||||
Reference in New Issue
Block a user