Skip to content

Commit

Permalink
[doc]add goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
wolf-joe committed Mar 9, 2020
1 parent c41c364 commit 77876b4
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@
src/
pkg/
bin/
gfwlist.txt
gfwlist.txt
dist/
55 changes: 55 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# This is an example goreleaser.yaml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
before:
hooks:
builds:
- env:
- CGO_ENABLED=0
goos:
- windows
- darwin
- linux
- freebsd
goarch:
- amd64
- 386
- arm
- arm64
goarm:
- 6
- 7
ignore:
- goos: windows
goarch: arm
- goos: windows
goarch: arm64
- goos: darwin
goarch: arm
- goos: darwin
goarch: arm64
- goos: freebsd
goarch: arm
- goos: freebsd
goarch: arm64
archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
format_overrides:
- goos: windows
format: zip
files:
- ts-dns*.toml
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
* 支持多hosts文件 + 手动指定hosts
* 支持按手动后缀匹配/半智能污染检测/GFWList进行分组
* DNS查询支持socks5代理
* 简单DNS缓存

![](arch.png)

Expand Down Expand Up @@ -37,6 +38,5 @@ listen = ":53"

## TODO

* GoReleaser
* 智能DNS缓存
* 自动添加IPSET

0 comments on commit 77876b4

Please sign in to comment.