fix(all): Migration to Linus.
This commit is contained in:
parent
ef5eb6cea6
commit
35a4e4d1d9
2 changed files with 15 additions and 15 deletions
|
@ -115,7 +115,7 @@ IF EXIST "%DEPLOYMENT_TARGET%\deploy\default.gbui\package.json" (
|
||||||
popd
|
popd
|
||||||
)
|
)
|
||||||
|
|
||||||
:: 4. Install typescript
|
:: 4. Install TypeScript
|
||||||
echo [General Bots Deployer] Transpiling...
|
echo [General Bots Deployer] Transpiling...
|
||||||
call :ExecuteCmd node %DEPLOYMENT_TARGET%\node_modules\typescript\bin\tsc -v
|
call :ExecuteCmd node %DEPLOYMENT_TARGET%\node_modules\typescript\bin\tsc -v
|
||||||
call :ExecuteCmd node %DEPLOYMENT_TARGET%\node_modules\typescript\bin\tsc -p "%DEPLOYMENT_TARGET%"
|
call :ExecuteCmd node %DEPLOYMENT_TARGET%\node_modules\typescript\bin\tsc -p "%DEPLOYMENT_TARGET%"
|
||||||
|
|
28
deploy.sh
28
deploy.sh
|
@ -77,23 +77,23 @@ if [ -e "$DEPLOYMENT_SOURCE/package.json" ]; then
|
||||||
cd - > /dev/null
|
cd - > /dev/null
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# # 1.1 Install default.gbui npm packages
|
# 1.1 Install default.gbui npm packages
|
||||||
# if [ -e "$DEPLOYMENT_SOURCE/packages/default.gbui/package.json" ]; then
|
if [ -e "$DEPLOYMENT_SOURCE/packages/default.gbui/package.json" ]; then
|
||||||
# echo "[General Bots Deployer] Running npm install for default.gbui..."
|
echo "[General Bots Deployer] Running npm install for default.gbui..."
|
||||||
# cd "$DEPLOYMENT_SOURCE/packages/default.gbui"
|
cd "$DEPLOYMENT_SOURCE/packages/default.gbui"
|
||||||
# eval npm install
|
eval npm install
|
||||||
# exitWithMessageOnError "npm failed"
|
exitWithMessageOnError "npm failed"
|
||||||
# echo "[General Bots Deployer] Building react app..."
|
echo "[General Bots Deployer] Building react app..."
|
||||||
# eval npm run build
|
eval npm run build
|
||||||
# echo "[General Bots Deployer] OK."
|
echo "[General Bots Deployer] OK."
|
||||||
# exitWithMessageOnError "react build failed"
|
exitWithMessageOnError "react build failed"
|
||||||
# cd - > /dev/null
|
cd - > /dev/null
|
||||||
# fi
|
fi
|
||||||
|
|
||||||
# 1.2 Install typescript
|
# 1.2 Install TypeScript
|
||||||
echo "[General Bots Deployer] Transpiling..."
|
echo "[General Bots Deployer] Transpiling..."
|
||||||
eval ./node_modules/typescript/bin/tsc -v
|
eval ./node_modules/typescript/bin/tsc -v
|
||||||
eval ./node_modules/typescript/bin/tsc -p "%DEPLOYMENT_TARGET%"
|
eval ./node_modules/typescript/bin/tsc -p "$DEPLOYMENT_TARGET"
|
||||||
|
|
||||||
echo "[General Bots Deployer] Deployment Finished."
|
echo "[General Bots Deployer] Deployment Finished."
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue