think-cli
Version:
A simple CLI for scaffolding Thinkjs projects.
26 lines • 804 B
YAML
environment:
matrix:
- nodejs_version: '6'
clone_script:
- cmd: git clone -q --branch=%APPVEYOR_REPO_BRANCH% https://github.com/%APPVEYOR_REPO_NAME%.git %APPVEYOR_BUILD_FOLDER%
- cmd: cd %APPVEYOR_BUILD_FOLDER%
- cmd: git checkout -qf %APPVEYOR_REPO_COMMIT%
- ps: set-content .gitmodules "[submodule `"default_template`"]`r`n path = default_template`r`n url = https://github.com/think-template/standard.git"
- ps: cat .gitmodules
- cmd: git submodule update --init --recursive
install:
- ps: Install-Product node $env:nodejs_version
- set CI=true
- npm -g install npm@latest
- set PATH=%APPDATA%\npm;%PATH%
- npm install
matrix:
fast_finish: true
build: off
version: '{build}'
shallow_clone: true
clone_depth: 1
test_script:
- node --version
- npm --version
- npm test