Ver código fonte

修改部署脚本

test
chenJinxu 10 meses atrás
pai
commit
139f050986
3 arquivos alterados com 3 adições e 3 exclusões
  1. +1
    -1
      setup_development.sh
  2. +1
    -1
      setup_production.sh
  3. +1
    -1
      setup_test.sh

+ 1
- 1
setup_development.sh Ver arquivo

@@ -1,6 +1,6 @@

npm -v
npm config set registry https://registry.npm.taobao.org
npm config set registry https://registry.npmmirror.com
npm install
npm run build-dev
image_version=`date +%Y%m%d%H%M`;


+ 1
- 1
setup_production.sh Ver arquivo

@@ -7,7 +7,7 @@
# @description:
###
npm -v
npm config set registry https://registry.npm.taobao.org
npm config set registry https://registry.npmmirror.com
npm install
npm run build
image_version=$version;


+ 1
- 1
setup_test.sh Ver arquivo

@@ -8,7 +8,7 @@
###
#!/bin/bash
npm -v
npm config set registry https://registry.npm.taobao.org
npm config set registry https://registry.npmmirror.com/
npm install
npm run build-test
image_version=$version;


Carregando…
Cancelar
Salvar