diff --git a/.gitignore b/.gitignore index 4612f89..e7d693d 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,5 @@ opnsense.exe test/ build/ + +dist/ diff --git a/.goreleaser.yaml b/.goreleaser.yaml new file mode 100644 index 0000000..2a1d03d --- /dev/null +++ b/.goreleaser.yaml @@ -0,0 +1,30 @@ +before: + hooks: + # You may remove this if you don't use go modules. + - go mod tidy + # you may remove this if you don't need go generate + - go generate ./... +builds: + - env: + - CGO_ENABLED=0 + goos: + - freebsd + - linux + - windows + - darwin + +checksum: + name_template: 'checksums.txt' +snapshot: + name_template: "{{ incpatch .Version }}-next" +changelog: + sort: asc + filters: + exclude: + - '^docs:' + - '^test:' + +# The lines beneath this are called `modelines`. See `:help modeline` +# 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 diff --git a/opnsense.code-workspace b/opnsense.code-workspace deleted file mode 100644 index 6a32902..0000000 --- a/opnsense.code-workspace +++ /dev/null @@ -1,7 +0,0 @@ -{ - "folders": [ - { - "path": "." - } - ] -} \ No newline at end of file