-
Notifications
You must be signed in to change notification settings - Fork 41
/
Copy pathMakefile
37 lines (26 loc) · 773 Bytes
/
Makefile
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
default: install build
frontend-install:
@echo "** Installing Frontend dependencies via 'npm' **"
@cd static && npm install
frontend-build:
@echo "** Building Frontend **"
@cd static && webpack
frontend-test:
@echo "** Running tests for Frontend **"
@echo "no test available yet for the Frontend"
backend-build:
@echo "** Building Backend **"
go generate
go build
backend-install:
@echo "** Installing Backend dependencies via 'go get' **"
@go get github.com/tools/godep
@go get -u github.com/jteeuwen/go-bindata/...
backend-test:
@echo "** Running tests for Backend **"
go test
install: frontend-install backend-install
build: frontend-build backend-build
test: frontend-test backend-test
release:
gox -output="build/{{.Dir}}_{{.OS}}_{{.Arch}}"