-
Notifications
You must be signed in to change notification settings - Fork 319
/
Copy pathbuild.toast.yml
38 lines (38 loc) · 1021 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
# keep image in sync with .circleci/config.yml
image: "docker/tilt-releaser@sha256:9d05f87976ccdf8a3434443fac2b867ca99a81c8423008437c767c04784969e4"
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/