-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
39 lines (27 loc) · 827 Bytes
/
Copy pathMakefile
File metadata and controls
39 lines (27 loc) · 827 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
usage:
@echo "make server"
env:
@go get -u github.com/jteeuwen/go-bindata/...
@go get github.com/Unknwon/bra
@glide install
clean:
@rm -rf public/bindata.go
@rm -rf templates/bindata.go
@rm -rf public/build
@rm -rf go-curabitur
bindata:
@cd public && go-bindata -o bindata.go -pkg public $(BINDATA_OPTS) -ignore="\\.DS_Store|\\.gitignore|\\.gitkeep" ./...
@cd templates && go-bindata -o bindata.go -pkg templates $(BINDATA_OPTS) -ignore="\\.DS_Store|\\.gitignore|\\.gitkeep" ./...
dev-bindata:
@$(MAKE) --no-print-directory bindata BINDATA_OPTS="-debug"
server: clean bindata
@ASSET_MODE=link bra run
dev-server: clean dev-bindata
@ASSET_MODE=link bra run
assets:
@npm run build
dev-assets:
@npm run dev
release: clean assets bindata
@ASSET_MODE=embed go install
@cp '$(GOPATH)/bin/go-curabitur' .