aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Miek Gieben <miek@miek.nl> 2017-02-14 19:23:18 +0000
committerGravatar GitHub <noreply@github.com> 2017-02-14 19:23:18 +0000
commit98c86f3f9fb2abcf9adcae5fd94dd6e3d65eca0b (patch)
tree3dbe155921f88583fbfed34824c4eec4d877aeb3 /Makefile
parenta5f3cb5fe542f792bd8289daa5fffb6137b81999 (diff)
downloadcoredns-98c86f3f9fb2abcf9adcae5fd94dd6e3d65eca0b.tar.gz
coredns-98c86f3f9fb2abcf9adcae5fd94dd6e3d65eca0b.tar.zst
coredns-98c86f3f9fb2abcf9adcae5fd94dd6e3d65eca0b.zip
go gen improvements (#524)
Remove the "gen" directory and move directives_generate.go out of it. Add a build ignore tag so it isn't build by default. Cleanup the go gen invocations so there are not seen as package docs. Simplify the code a bit and don't run go gen twice.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index cc87ea63f..a720d23ab 100644
--- a/Makefile
+++ b/Makefile
@@ -50,7 +50,7 @@ clean:
.PHONY: gen
gen:
- go generate ./core/...
+ go generate coredns.go
.PHONY: distclean
distclean: clean