mirror of
https://github.com/AdguardTeam/AdGuardDNS.git
synced 2025-02-20 11:23:36 +08:00
Move adguard-dns to github (temporary personal account)
This commit is contained in:
parent
5e30ec5c95
commit
ed4eb605be
6
Makefile
6
Makefile
@ -12,13 +12,11 @@ GOPATH=$(shell pwd)/go_$(VERSION)
|
||||
clean:
|
||||
rm -fv *.deb
|
||||
|
||||
## replace bit.adguard.com with github and remove ln -s once we push adguard-dns to github
|
||||
## replace hmage/curly-system with AdguardTeam/AdguardDNS
|
||||
build: check-vars clean
|
||||
mkdir -p $(GOPATH)
|
||||
GOPATH=$(GOPATH) go get -v -d -insecure bit.adguard.com/dns/adguard-dns
|
||||
GOPATH=$(GOPATH) go get -v -d github.com/hmage/curly-system
|
||||
GOPATH=$(GOPATH) go get -v -d github.com/coredns/coredns
|
||||
mkdir -p $(GOPATH)/src/github.com/AdguardTeam
|
||||
ln -s $(GOPATH)/src/bit.adguard.com/dns/adguard-dns $(GOPATH)/src/github.com/AdguardTeam/AdguardDNS
|
||||
cp plugin.cfg $(GOPATH)/src/github.com/coredns/coredns
|
||||
cd $(GOPATH)/src/github.com/coredns/coredns; GOPATH=$(GOPATH) go generate
|
||||
cd $(GOPATH)/src/github.com/coredns/coredns; GOPATH=$(GOPATH) go get -v -d -t .
|
||||
|
@ -25,9 +25,9 @@ pprof:pprof
|
||||
prometheus:metrics
|
||||
errors:errors
|
||||
log:log
|
||||
ratelimit:github.com/AdguardTeam/AdguardDNS/coredns_plugin/ratelimit
|
||||
refuseany:github.com/AdguardTeam/AdguardDNS/coredns_plugin/refuseany
|
||||
dnsfilter:github.com/AdguardTeam/AdguardDNS/coredns_plugin
|
||||
ratelimit:github.com/hmage/curly-system/coredns_plugin/ratelimit
|
||||
refuseany:github.com/hmage/curly-system/coredns_plugin/refuseany
|
||||
dnsfilter:github.com/hmage/curly-system/coredns_plugin
|
||||
cache:cache
|
||||
file:file
|
||||
forward:forward
|
||||
|
Loading…
x
Reference in New Issue
Block a user