-
Notifications
You must be signed in to change notification settings - Fork 306
/
build.toast.yml
39 lines (38 loc) · 1020 Bytes
/
build.toast.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
# keep image in sync with .circleci/config.yml
image: docker/tilt-releaser@sha256:4c9287b9e33c0448f9480fbdd921f18f7b795d282041157bccd473b01093e686
location: /go/src/github.com/tilt-dev/tilt
command_prefix: set -euo pipefail
tasks:
build-js:
command: make build-js
input_paths:
- pkg/assets/build
- web/
- Makefile
excluded_input_paths:
- web/build
- web/node_modules
build:
# These are empty by default. You can test a single target by passing, e.g.,
# GOOS=linux GOARCH=arm64 GR_ARGS="--id tilt-linux-arm64 --single-target" toast -f build.toast.yml
environment:
GOOS: ""
GOARCH: ""
GR_ARGS: ""
dependencies:
- build-js
command: goreleaser --verbose build --snapshot --clean $GR_ARGS
input_paths:
- .git/
- cmd/
- internal/
- pkg/
- vendor/
- .goreleaser.yml
- go.mod
- go.sum
- Makefile
excluded_input_paths:
- pkg/assets/build
output_paths:
- dist/