forked from bebop/poly
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitpod.yml
47 lines (41 loc) · 1.36 KB
/
.gitpod.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# This configuration file was automatically generated by Gitpod.
# Please adjust to your needs (see https://www.gitpod.io/docs/config-gitpod-file)
# and commit this file to your remote git repository to share the goodness with others.
tasks:
- name: Golang
init: >
go get &&
go build ./... &&
go test ./...
# https://github.com/golang/vscode-go/wiki/tools
- name: Install Go Analysis Tools
init: |
go install -v github.com/cweill/gotests/gotests@latest
go install -v github.com/fatih/gomodifytags@latest
go install -v github.com/go-delve/delve/cmd/dlv@latest
go install -v github.com/haya14busa/goplay/cmd/goplay@latest
go install -v github.com/josharian/impl@latest
go install -v github.com/ramya-rao-a/go-outline@latest
go install -v github.com/rogpeppe/godef@latest
go install -v golang.org/x/tools/gopls@latest
go install -v honnef.co/go/tools/cmd/staticcheck@latest
clear
- name: Open Tutorial Readme
command: >
gp ports await 23000 &&
clear &&
if [ -n "$tutorial" ]; then gp open tutorials/README.md && clear; fi
image:
file: .gitpod.Dockerfile
github:
prebuilds:
master: true
branches: true
pullRequests: true
pullRequestsFromForks: true
addCheck: false
addComment: true
addBadge: false
vscode:
extensions:
- golang.go