-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHyperMake
More file actions
81 lines (72 loc) · 1.64 KB
/
HyperMake
File metadata and controls
81 lines (72 loc) · 1.64 KB
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
---
format: hypermake.v0
name: talk
description: Connect Robotic Components
targets:
toolchain:
description: build toolchain with shared contract
watches:
- hack/toolchain
build: hack/toolchain
vendor:
description: fetch dependencies for Go pkg
after:
- toolchain
watches:
- Gopkg.lock
- Gopkg.toml
cmds:
- dep ensure
build-plugin-[name:gobot,v4l,vision]-[arch:amd64,armhf]:
description: build plugin $[name] for $[arch]
after:
- vendor
watches:
- 'vendor/**/**/*.go'
- 'contract/**/**/*.go'
- 'core/**/**/*.go'
- 'components/$[name]/**/**/*.go'
- 'plugins/$[name]/**/**/*.go'
env:
- RELEASE
cmds:
- CGO_ENABLED=1 build-go.sh $[arch] lib/talk-$[name].so -buildmode=plugin ./plugins/$[name]
build-cli-[arch:amd64,armhf]:
description: build CLI for $[arch]
after:
- vendor
watches:
- '**/**/*.go'
env:
- RELEASE
cmds:
- CGO_ENABLED=1 build-go.sh $[arch] bin/talk ./cmd/talk
build-cli-full-[arch:amd64,armhf]:
description: build all-in-one CLI for $[arch]
after:
- vendor
watches:
- '**/**/*.go'
env:
- RELEASE
cmds:
- build-go.sh $[arch] bin/talk-full ./cmd/talk
build:
description: build for all targets
after:
- 'build-*'
test:
description: run tests
after:
- vendor
always: true
cmds:
- go test ./engine/...
settings:
default-targets:
- build
exec-target: vendor
exec-shell: /bin/bash
docker:
image: 'robotalks/talk-toolchain:v0'
src-volume: /go/src/github.com/robotalks/talk