mirror of
https://github.com/didi/KnowStreaming.git
synced 2026-01-10 17:12:11 +08:00
初始化3.0.0版本
This commit is contained in:
16
km-console/tool/build.sh
Executable file
16
km-console/tool/build.sh
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/bin/sh
|
||||
set -ex
|
||||
#检测node版本
|
||||
echo "node version: " `node -v`
|
||||
echo "npm version: " `npm -v`
|
||||
|
||||
pwd=`pwd`
|
||||
echo "start install"
|
||||
# npm run clean
|
||||
npm run i
|
||||
echo "install success"
|
||||
|
||||
echo "start build"
|
||||
rm -rf pub/
|
||||
lerna run build
|
||||
echo "build success"
|
||||
Reference in New Issue
Block a user