-
Notifications
You must be signed in to change notification settings - Fork 0
/
HyperMake
56 lines (49 loc) · 1 KB
/
HyperMake
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
---
format: hypermake.v0
name: azp
description: A simple HTTPS proxy with Authn/Authz
targets:
toolchain:
description: build toolchain
build: scripts/docker/toolchain
watches:
- scripts/docker/toolchain
deps:
description: install dependencies
after:
- toolchain
watches:
- Gopkg.lock
- Gopkg.toml
cmds:
- dep ensure
build-darwin:
description: build for MacOS
after:
- deps
watches:
- '**/**/*.go'
cmds:
- scripts/build.sh darwin
artifacts:
- bin/darwin/amd64/azp
build-linux-[arch:amd64,arm64]:
description: build for Linux $[arch]
after:
- deps
watches:
- '**/**/*.go'
cmds:
- scripts/build.sh linux $[arch]
artifacts:
- bin/linux/$[arch]/azp
build:
description: build binaries
after:
- 'build-*'
settings:
default-targets: [build]
exec-target: deps
docker:
image: 'azp/toolchain:go-1.9'
src-volume: /go/src/github.com/evo-cloud/azp