mirror of
https://gitee.com/dromara/MaxKey.git
synced 2025-12-07 01:18:27 +08:00
18 lines
458 B
Bash
18 lines
458 B
Bash
#!/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}"
|