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 : errcheck
55
56
errcheck :
56
57
@which errcheck > /dev/null; if [ $$ ? -ne 0 ]; then \
@@ -124,14 +125,6 @@ latest-check:
124
125
.PHONY : publish
125
126
publish : release latest
126
127
127
- .PHONY : bindata
128
- bindata : modules/bindata/bindata.go
129
-
130
- .IGNORE : modules/bindata/bindata.go
131
- modules/bindata/bindata.go : $(BINDATA )
132
- go-bindata -o=$@ -ignore=" \\ .go|README.md|TRANSLATORS" -pkg=bindata conf/...
133
- go fmt $@
134
-
135
128
.PHONY : javascripts
136
129
javascripts : public/js/index.js
137
130
@@ -146,5 +139,5 @@ stylesheets: public/css/index.css
146
139
public/css/index.css : $(STYLESHEETS )
147
140
lessc $< $@
148
141
149
- .PHONY : generate
150
- generate : bindata javascripts stylesheets
142
+ .PHONY : assets
143
+ assets : javascripts stylesheets
You can’t perform that action at this time.
0 commit comments