cocos-enhance-kit/engine/.gitpod.yml

22 lines
451 B
YAML
Raw Normal View History

2022-06-24 16:23:03 +00:00
image:
file: .gitpod.Dockerfile
tasks:
- command: gp await-port 8511 && sleep 3 && gp preview $(gp url 8511)/bin/qunit-runner.html
- name: Build
init: |
npm install
npm install gulp-qunit express
gp sync-done init
command: gulp build
- name: Test
init: |
gp sync-await init
npm test
command: node test/qunit/server.js
openMode: split-right
ports:
- port: 8511
onOpen: ignore