This commit is contained in:
hedy 2022-12-02 16:02:59 +08:00
commit 3550af4639
Signed by: hedy
GPG Key ID: B51B5A8D1B176372
4 changed files with 44 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
dist/

33
.goreleaser.yaml Normal file
View File

@ -0,0 +1,33 @@
# Make sure to check the documentation at https://goreleaser.com
before:
hooks:
# You may remove this if you don't use go modules.
- go mod tidy
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ incpatch .Version }}"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
# modelines, feel free to remove those if you don't want/use them:
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
# vim: set ts=2 sw=2 tw=0 fo=cnqoj

3
go.mod Normal file
View File

@ -0,0 +1,3 @@
module main
go 1.18

6
main.go Normal file
View File

@ -0,0 +1,6 @@
// main.go
package main
func main() {
println("Ba dum, tss!")
}