-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathMakefile
More file actions
33 lines (26 loc) · 728 Bytes
/
Makefile
File metadata and controls
33 lines (26 loc) · 728 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
# HackTunnel project
# (C) 2015 DevHQ, http://devhq.io
# License: AGPL 3
compile:
./node_modules/less/bin/lessc ./static/less/style.less > ./static/css/style.css
./node_modules/react-tools/bin/jsx ./static/js/etc/ui.js > ./static/js/etc/ui-translated.js
@gb build || (echo 'Error. Try to run "make get-deps"' ; exit 1)
test:
@gb test
get-deps:
go get -u github.com/constabulary/gb/...
@gb vendor restore
npm install react-tools
npm install --force bower
npm install less
./node_modules/bower/bin/bower install
delete-deps:
rm -rf ./vendor/src
rm -rf ./static/vendor
rm -rf ./node_modules
run:
bin/hacktunnel
clean:
rm -f bin/hacktunnel
rm -f ./static/css/style.css
rm -f ./static/js/etc/ui-translated.js