| 1 |
tasks: |
| 2 |
- name: docs |
| 3 |
before: make docs-deps |
| 4 |
command: mkdocs serve |
| 5 |
- name: binary |
| 6 |
before: | |
| 7 |
npm install --global nodemon |
| 8 |
make cli-deps-static-sites |
| 9 |
command: | |
| 10 |
nodemon --watch './**/*.go' --ext go --signal SIGTERM --exec "CGO_ENABLED=1 go run main.go serve --listen-http :2586 --debug --base-url $(gp url 2586)" |
| 11 |
openMode: split-right |
| 12 |
- name: web |
| 13 |
before: make web-deps |
| 14 |
command: cd web && npm start |
| 15 |
openMode: split-right |
| 16 |
|
| 17 |
vscode: |
| 18 |
extensions: |
| 19 |
- golang.go |
| 20 |
- ms-azuretools.vscode-docker |
| 21 |
|
| 22 |
ports: |
| 23 |
- name: docs |
| 24 |
port: 8000 |
| 25 |
- name: binary |
| 26 |
port: 2586 |
| 27 |
- name: web |
| 28 |
port: 3000 |