From 7a071af821098718483e0c40e157d58cbf2cdefa Mon Sep 17 00:00:00 2001 From: Tobie Morgan Hitchcock Date: Sat, 4 Mar 2017 10:55:58 +0000 Subject: [PATCH] Download generate dependencies in each gen files --- circle.yml | 1 - db/gen.go | 1 + sql/gen.go | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/circle.yml b/circle.yml index 8ac5f9bb..f9934330 100644 --- a/circle.yml +++ b/circle.yml @@ -28,7 +28,6 @@ dependencies: - docker info - docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS - go get -u github.com/Masterminds/glide - - go get -u github.com/jteeuwen/go-bindata/... # ----------------------------------- diff --git a/db/gen.go b/db/gen.go index 8378ce53..a7d04222 100644 --- a/db/gen.go +++ b/db/gen.go @@ -14,4 +14,5 @@ package db +//go:generate go get -u github.com/ugorji/go/codec/codecgen //go:generate codecgen -o db.gen.go db.go diff --git a/sql/gen.go b/sql/gen.go index c6ada97c..ef310b68 100644 --- a/sql/gen.go +++ b/sql/gen.go @@ -17,4 +17,5 @@ package sql //go:generate go get -u github.com/abcum/tmpl //go:generate tmpl -file=kill.gen.json kill.gen.go.tmpl +//go:generate go get -u github.com/ugorji/go/codec/codecgen //go:generate codecgen -o ast.gen.go ast.go