Skip to content

Commit 672acba

Browse files
author
Amir Razmjou
committed
Added gitignore and goreleaser
1 parent f0510dd commit 672acba

File tree

2 files changed

+42
-0
lines changed

2 files changed

+42
-0
lines changed

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# IntelliJ project files
2+
*.iml
3+
*.iws
4+
*.ipr
5+
.idea/
6+
dist/
7+

.goreleaser.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# This is an example goreleaser.yaml file with some sane defaults.
2+
# Make sure to check the documentation at http://goreleaser.com
3+
before:
4+
hooks:
5+
# You may remove this if you don't use go modules.
6+
- go mod download
7+
# you may remove this if you don't need go generate
8+
- go generate ./...
9+
builds:
10+
- env:
11+
- CGO_ENABLED=0
12+
goos:
13+
- linux
14+
- windows
15+
- darwin
16+
ignore:
17+
- goos: darwin
18+
goarch: 386
19+
archives:
20+
- replacements:
21+
darwin: Darwin
22+
linux: Linux
23+
windows: Windows
24+
386: i386
25+
amd64: x86_64
26+
checksum:
27+
name_template: 'checksums.txt'
28+
snapshot:
29+
name_template: "{{ .Tag }}-next"
30+
changelog:
31+
sort: asc
32+
filters:
33+
exclude:
34+
- '^docs:'
35+
- '^test:'

0 commit comments

Comments
 (0)