mirror of
https://github.com/smallmain/cocos-enhance-kit.git
synced 2024-12-25 19:28:28 +00:00
22 lines
451 B
YAML
22 lines
451 B
YAML
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
|