forked from sprintly/sprintly-kanban
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
43 lines (31 loc) · 845 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
37
38
39
40
41
42
43
all: install build
install:
@npm install
watch:
@node_modules/.bin/gulp
build:
@npm run build &
@npm run build-less &
@npm run build-test &
build-production:
@npm run build-production
bootstrap:
mkdir -p public/less/bootstrap
cp -r node_modules/bootstrap/less/* public/less/bootstrap
react-select:
mkdir -p public/less/react-select
cp -r node_modules/react-select/less/* public/less/react-select
test:
@npm test
test-file:
@find ./app -name *-test.js -print | awk '{print "require(\"."$$1"\");"}' > test/index.js
@echo "test/index.js written"
test-server: test-file
@npm run build-test
@open http://localhost:8003/test/index.html
@python -m SimpleHTTPServer 8003
shrinkwrap:
npm shrinkwrap --dev
git add npm-shrinkwrap.json package.json
git commit -m 'updating shrinkwrap' -e
.PHONY: all install server test watch