-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathGimmefile
61 lines (60 loc) · 1.56 KB
/
Gimmefile
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
57
58
59
60
61
{
"targets": {
"qa": {
"deps": {
"build": [
"vendor/go:go",
"vendor/go-bindata:go-bindata",
// For testing.
"vendor/watchman:watchman",
"vendor/ruby:ruby",
"vendor/pry:pry",
"vendor/minitest:minitest",
"vendor/test-unit:test-unit",
"vendor/rspec:rspec"
]
},
"sandbox-allows-local-networking": true,
"commands": [
"env GOPATH=$PWD GOGENPATH=$GIMME_SCRATCH/src go generate -v -x qa/main qa/runner qa/tapjio qa/analysis",
"env GOPATH=$PWD:$GIMME_SCRATCH go build -o $GIMME_OUTPUT/bin/qa qa/main",
"env GOPATH=$PWD:$GIMME_SCRATCH go test -v -race $(env GOPATH=$PWD go list ./... | grep -v /vendor/)",
"true"
],
"prepend-platform-env": {
"PATH": ["bin"]
}
},
"qa+linux+x86_64": {
"deps": {
"build": [
"vendor/go:go",
"vendor/go-bindata:go-bindata"
]
},
"commands": [
"env GOPATH=$PWD GOGENPATH=$GIMME_SCRATCH/src go generate -v -x qa/main qa/runner qa/tapjio qa/analysis",
"env GOPATH=$PWD:$GIMME_SCRATCH GOOS=linux GOARCH=amd64 go build -o $GIMME_OUTPUT/bin/qa qa/main"
],
"prepend-platform-env": {
"PATH": ["bin"]
}
},
"gem": {
"deps": {
"packaged": [
"qa:qa"
],
"build": [
"vendor/ruby:ruby"
]
},
"commands": [
"./build-gem"
],
"prepend-platform-env": {
"GEM_CACHE_PATH": ["."]
}
}
}
}