Skip to content

Commit 9028dc2

Browse files
committed
add goreleaser
1 parent d6a074c commit 9028dc2

3 files changed

Lines changed: 35 additions & 0 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/dist/

.goreleaser.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Build customization
2+
builds:
3+
-
4+
binary: validyaml
5+
goos:
6+
- windows
7+
- darwin
8+
goarch:
9+
- 386
10+
- amd64
11+
ignore:
12+
- goos: darwin
13+
goarch: 386
14+
15+
# Archive customization
16+
archive:
17+
format: tar.gz
18+
format_overrides:
19+
- goos: windows
20+
format: zip
21+
replacements:
22+
amd64: 64-bit
23+
386: 32-bit
24+
darwin: macOS
25+
files:
26+
- README.md
27+
- LICENSE

Makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
update-vendor:
2+
dep ensure
3+
dep ensure -update
4+
dep prune
5+
6+
release:
7+
goreleaser --rm-dist

0 commit comments

Comments
 (0)