forked from ctaggart/golang-vscode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nut.yml
56 lines (55 loc) · 1.6 KB
/
nut.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
48
49
50
51
52
53
54
55
56
syntax_version: "4"
project_name: golang-vscode
based_on:
docker_image: ctaggart/golang-vscode
enable_gui: true
mount:
main:
- .
- /home/vscode/golang-vscode
macros:
code:
usage: open this project in vscode
actions:
- su - vscode -c "code -w /home/vscode/golang-vscode"
bash:
usage: start bash
actions:
- su - vscode
# macros to open vscode for the dependencies
gocode:
usage: open gocode in vscode
actions:
- su - vscode -c "code -w /home/vscode/go/src/github.com/nsf/gocode"
godef:
usage: open godef in vscode
actions:
- su - vscode -c "code -w /home/vscode/go/src/github.com/rogpeppe/godef"
golint:
usage: open golint in vscode
actions:
- su - vscode -c "code -w /home/vscode/go/src/github.com/golang/lint/golint"
go-outline:
usage: open go-outline in vscode
actions:
- su - vscode -c "code -w /home/vscode/go/src/github.com/lukehoban/go-outline"
goreturns:
usage: open goreturns in vscode
actions:
- su - vscode -c "code -w /home/vscode/go/src/sourcegraph.com/sqs/goreturns"
gorename:
usage: open gorename in vscode
actions:
- su - vscode -c "code -w /home/vscode/go/src/golang.org/x/tools/cmd/gorename"
gopkgs:
usage: open gopkgs in vscode
actions:
- su - vscode -c "code -w /home/vscode/go/src/github.com/tpng/gopkgs"
go-symbols:
usage: open go-symbols in vscode
actions:
- su - vscode -c "code -w /home/vscode/go/src/github.com/newhook/go-symbols"
guru:
usage: open guru in vscode
actions:
- su - vscode -c "code -w /home/vscode/go/src/golang.org/x/tools/cmd/guru"