-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
40 lines (28 loc) · 902 Bytes
/
Makefile
File metadata and controls
40 lines (28 loc) · 902 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
40
all:
./node_modules/.bin/gulp default
clean:
./node_modules/.bin/gulp clean
dist-clean:
./node_modules/.bin/gulp dist-clean
lint: lint
./node_modules/.bin/gulp jshint
./node_modules/.bin/gulp csslint
less: clean
./node_modules/.bin/gulp less
./node_modules/.bin/gulp minify-css
uitest:
./node_modules/.bin/casperjs test test/ui/suite.js
test:
./node_modules/.bin/mocha test/unit
cover:
./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha test/unit -- -R spec
./node_modules/.bin/gulp coveralls
install:
npm install
docker:
docker build -t tlksio/front .
docker-run:
docker run -ti --name front --rm -p 9001:9001 -v `pwd`:/opt/tlks.io/front --link db:db -t tlksio/front bash
docker-up:
docker run -d --name front -p 9001:9001 -v `pwd`:/opt/tlks.io/front --link db:db -t tlksio/front
.PHONY: all clean dist-clean lint less uitest test cover install docker docker-run