Fix statik tooling
This commit is contained in:
@@ -52,13 +52,16 @@ docker-push.%: %
|
||||
realize: $(REALIZE)
|
||||
$(REALIZE) start
|
||||
|
||||
dep.codegen:
|
||||
go install github.com/rakyll/statik
|
||||
|
||||
dep.update: $(DEP)
|
||||
$(DEP) ensure -update -v
|
||||
|
||||
dep: $(DEP)
|
||||
$(DEP) ensure -v
|
||||
|
||||
codegen: $(SPEC)
|
||||
codegen: $(SPEC) dep.codegen
|
||||
@PATH=${PATH}:${GOPATH}/bin ./codegen.sh
|
||||
|
||||
protobuf: $(PROTOC)
|
||||
|
||||
+1
-1
@@ -15,7 +15,7 @@ import (
|
||||
"github.com/titpetric/factory"
|
||||
)
|
||||
|
||||
//go:generate statik -p mysql -m -Z -f -src=schema/mysql
|
||||
//go:generate $GOPATH/bin/statik -p mysql -m -Z -f -src=schema/mysql
|
||||
|
||||
func statements(contents []byte, err error) ([]string, error) {
|
||||
if err != nil {
|
||||
|
||||
+1
-1
@@ -15,7 +15,7 @@ import (
|
||||
"github.com/titpetric/factory"
|
||||
)
|
||||
|
||||
//go:generate statik -p mysql -m -Z -f -src=schema/mysql
|
||||
//go:generate $GOPATH/bin/statik -p mysql -m -Z -f -src=schema/mysql
|
||||
|
||||
func statements(contents []byte, err error) ([]string, error) {
|
||||
if err != nil {
|
||||
|
||||
+1
-1
@@ -15,7 +15,7 @@ import (
|
||||
"github.com/titpetric/factory"
|
||||
)
|
||||
|
||||
//go:generate statik -p mysql -m -Z -f -src=schema/mysql
|
||||
//go:generate $GOPATH/bin/statik -p mysql -m -Z -f -src=schema/mysql
|
||||
|
||||
func statements(contents []byte, err error) ([]string, error) {
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user