File tree Expand file tree Collapse file tree 1 file changed +9
-16
lines changed Expand file tree Collapse file tree 1 file changed +9
-16
lines changed Original file line number Diff line number Diff line change @@ -37,12 +37,6 @@ clean:
37
37
go clean -i ./...
38
38
rm -rf $(BIN ) $(DIST )
39
39
40
- .PHONY : deps
41
- deps :
42
- @which go-bindata > /dev/null; if [ $$ ? -ne 0 ]; then \
43
- go get -u github.com/jteeuwen/go-bindata/...; \
44
- fi
45
-
46
40
.PHONY : fmt
47
41
fmt :
48
42
go fmt $(PACKAGES )
51
45
vet :
52
46
go vet $(PACKAGES )
53
47
48
+ .PHONY : generate
49
+ generate :
50
+ @which go-bindata > /dev/null; if [ $$ ? -ne 0 ]; then \
51
+ go get -u github.com/jteeuwen/go-bindata/...; \
52
+ fi
53
+ go generate $(PACKAGES )
54
+
54
55
.PHONY : lint
55
56
lint :
56
57
@which golint > /dev/null; if [ $$ ? -ne 0 ]; then \
@@ -106,14 +107,6 @@ latest-check:
106
107
.PHONY : publish
107
108
publish : release latest
108
109
109
- .PHONY : bindata
110
- bindata : modules/bindata/bindata.go
111
-
112
- .IGNORE : modules/bindata/bindata.go
113
- modules/bindata/bindata.go : $(BINDATA )
114
- go-bindata -o=$@ -ignore=" \\ .go|README.md|TRANSLATORS" -pkg=bindata conf/...
115
- go fmt $@
116
-
117
110
.PHONY : javascripts
118
111
javascripts : public/js/index.js
119
112
@@ -128,5 +121,5 @@ stylesheets: public/css/index.css
128
121
public/css/index.css : $(STYLESHEETS )
129
122
lessc $< $@
130
123
131
- .PHONY : generate
132
- generate : bindata javascripts stylesheets
124
+ .PHONY : assets
125
+ assets : javascripts stylesheets
You can’t perform that action at this time.
0 commit comments