Sfoglia il codice sorgente

修改部署脚本

test
chenJinxu 10 mesi fa
parent
commit
139f050986
3 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. +1
    -1
      setup_development.sh
  2. +1
    -1
      setup_production.sh
  3. +1
    -1
      setup_test.sh

+ 1
- 1
setup_development.sh Vedi File

@@ -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 Vedi File

@@ -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 Vedi File

@@ -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;


Loading…
Annulla
Salva