Debian Codegraph @

Makefile

raw ◀ ▶
Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
1
2 #
3 # Tests
4 #
5
6 test: test-node test-typescript
7
8 test-node:
9 @printf "\n ==> [Node.js]\n"
10 @NODE_ENV=test node ./test/index.js
11
12 test-browser:
13 @printf "\n ==> [Browser]\n"
14 @make build
15 @printf "\n\n Open 'test/index.html' in your browser to test.\n\n"
16
17 test-typescript:
18 @./node_modules/.bin/tsc test/typings.ts index.d.ts --noEmit
19
20 #
21 # Components
22 #
23
24 build: components
25 @./node_modules/.bin/component-build --dev
26
27 components: component.json
28 @./node_modules/.bin/component-install --dev
29
30 #
31 # Clean up
32 #
33
34 clean: clean-components
35
36 clean-components:
37 @rm -rf build
38 @rm -rf components
39
40 .PHONY: test test-node test-browser
41 .PHONY: clean clean-components