blob: 9b90e3a3e0c44a29eaa93c8a5241b8f68c92cd9e [file] [log] [blame]
Koichi Shiraishi2e673182020-01-19 04:53:36 +09001project_name: cue
2
Marcel van Lohuizen59018e62019-06-22 16:22:06 +02003before:
4 hooks:
5 - go mod download
Koichi Shiraishi2e673182020-01-19 04:53:36 +09006
Marcel van Lohuizen59018e62019-06-22 16:22:06 +02007builds:
8- env:
9 - CGO_ENABLED=0
10 main: ./cmd/cue
11 binary: cue
12 ldflags:
13 - -s -w
14 - -X cuelang.org/go/cmd/cue/cmd.version={{.Version}}
15 # TODO: consider adding the following for a verbose mode
16 # - -X cuelang.org/go/cmd/cue/cmd.commit={{.ShortCommit}}
17 # - -X cuelang.org/go/cmd/cue/cmd.date={{.Date}}
18 # - -X cuelang.org/cmd/cue/cmd.date={{.Env.GOVERSION}}
19 goos:
20 # File and Issue to request including other platforms.
21 - darwin
22 - linux
23 - windows
24 goarch:
25 - amd64
26 - arm64
27
28archives:
29- replacements:
30 darwin: Darwin
31 linux: Linux
32 windows: Windows
33 386: i386
34 amd64: x86_64
35 files:
36 - LICENSE
37 - README.md
38 - doc/tutorial/**/*
39 - doc/ref/spec.md
40 format_overrides:
41 - goos: windows
42 format: zip
43
Koichi Shiraishi2e673182020-01-19 04:53:36 +090044release:
45 disable: false
46
Marcel van Lohuizen59018e62019-06-22 16:22:06 +020047checksum:
48 name_template: 'checksums.txt'
49
50snapshot:
51 name_template: "{{ .Tag }}-next"
52
53changelog:
54 sort: asc
55 filters:
56 exclude:
57 - '^test:'
Joel Longtine633834d2019-07-01 14:55:23 +000058
59brews:
60- github:
Marcel van Lohuizen74c19ff2019-07-03 13:38:44 +020061 owner: cuelang
Joel Longtine633834d2019-07-01 14:55:23 +000062 name: homebrew-tap
Marcel van Lohuizen74c19ff2019-07-03 13:38:44 +020063 commit_author:
64 name: cue-bot
65 email: noreply@cuelang.org
Joel Longtine633834d2019-07-01 14:55:23 +000066 homepage: "https://github.com/cuelang/cue"
67 description: "CUE is an open source data constraint language which aims to simplify tasks involving defining and using data."
68 test: |
69 system "#{bin}/cue version"