forked from h2oai/h2o-flow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
35 lines (23 loc) · 769 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
B=node_modules/.bin
O=src/main/resources/www/steam
default:
npm run build --output=../h2o-3/h2o-web/src/main/resources/www/flow
build:
npm run build
clean:
npm run clean
watch:
npm run watch
check:
launch:
java -Dwebdev=1 -Xmx4g -jar ../h2o-app/build/libs/h2o-app.jar
unit-test:
$B/gulp build-test-script && node $O/js/steam-tests.js -u | $B/faucet
test-raw:
$B/gulp build-test-script && node $O/js/steam-tests.js -s
test:
$B/gulp build-test-script && node $O/js/steam-tests.js -s | $B/faucet
coverage:
@mkdir -p $O/coverage
$B/gulp build-test-script && $B/istanbul cover --dir $O/coverage -x "**/lib/**" $O/js/steam-tests.js && $B/istanbul report --dir $O/coverage cobertura
.PHONY: default watch clean unit-test test-raw test coverage launch