Koichi Shiraishi | 2e67318 | 2020-01-19 04:53:36 +0900 | [diff] [blame] | 1 | project_name: cue |
| 2 | |
Marcel van Lohuizen | 59018e6 | 2019-06-22 16:22:06 +0200 | [diff] [blame] | 3 | before: |
| 4 | hooks: |
| 5 | - go mod download |
Koichi Shiraishi | 2e67318 | 2020-01-19 04:53:36 +0900 | [diff] [blame] | 6 | |
Marcel van Lohuizen | 59018e6 | 2019-06-22 16:22:06 +0200 | [diff] [blame] | 7 | builds: |
| 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 | |
| 28 | archives: |
| 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 Shiraishi | 2e67318 | 2020-01-19 04:53:36 +0900 | [diff] [blame] | 44 | release: |
| 45 | disable: false |
| 46 | |
Marcel van Lohuizen | 59018e6 | 2019-06-22 16:22:06 +0200 | [diff] [blame] | 47 | checksum: |
| 48 | name_template: 'checksums.txt' |
| 49 | |
| 50 | snapshot: |
| 51 | name_template: "{{ .Tag }}-next" |
| 52 | |
| 53 | changelog: |
| 54 | sort: asc |
| 55 | filters: |
| 56 | exclude: |
| 57 | - '^test:' |
Joel Longtine | 633834d | 2019-07-01 14:55:23 +0000 | [diff] [blame] | 58 | |
| 59 | brews: |
| 60 | - github: |
Marcel van Lohuizen | 74c19ff | 2019-07-03 13:38:44 +0200 | [diff] [blame] | 61 | owner: cuelang |
Joel Longtine | 633834d | 2019-07-01 14:55:23 +0000 | [diff] [blame] | 62 | name: homebrew-tap |
Marcel van Lohuizen | 74c19ff | 2019-07-03 13:38:44 +0200 | [diff] [blame] | 63 | commit_author: |
| 64 | name: cue-bot |
| 65 | email: noreply@cuelang.org |
Joel Longtine | 633834d | 2019-07-01 14:55:23 +0000 | [diff] [blame] | 66 | 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" |