forked from chaijs/assertion-error
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
38 lines (27 loc) · 561 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
#
# Tests
#
test: test-node
test-node:
@printf "\n ==> [Node.js]\n"
@NODE_ENV=test node ./test/index.js
test-browser:
@printf "\n ==> [Browser]\n"
@make build
@printf "\n\n Open 'test/index.html' in your browser to test.\n\n"
#
# Components
#
build: components
@./node_modules/.bin/component-build --dev
components: component.json
@./node_modules/.bin/component-install --dev
#
# Clean up
#
clean: clean-components
clean-components:
@rm -rf build
@rm -rf components
.PHONY: test test-node test-browser
.PHONY: clean clean-components