Skip to content

Commit

Permalink
Add goreleaser config
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanJarv committed Dec 15, 2021
1 parent 0b94346 commit e3304af
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@
__pycache__
venv
.idea

dist/
30 changes: 30 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# This is an example .goreleaser.yml file with some sensible defaults.
# Make sure to check the documentation at https://goreleaser.com
before:
hooks:
- go mod tidy
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
binary: cdn-scanner
archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
4 changes: 0 additions & 4 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,6 @@ func setUlimitOpenFiles(i uint64) {
}
}





func getTargets(args []string, submit func(req *http.Request)) {
for _, v := range args {
file, err := ioutil.ReadFile(v)
Expand Down

0 comments on commit e3304af

Please sign in to comment.