File: Makefile

package info (click to toggle)
node-ansi-up 5.1.0%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 300 kB
  • sloc: javascript: 587; makefile: 26
file content (27 lines) | stat: -rw-r--r-- 471 bytes parent folder | download | duplicates (3)
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

SOURCE = *.ts
TESTS = test/*.js
REPORTER = dot

typescript:
		tsc -p .
		cat ./umd.header ./dist/ansi_up.js ./umd.footer > ansi_up.js
		mv  ./dist/ansi_up.js ./dist/ansi_up.js.include
		node ./scripts/fix-typings.js
		
test:
		@NODE_ENV=test mocha \
				--require should \
				--reporter $(REPORTER) \
				$(TESTS)

test_verbose:
		@NODE_ENV=test mocha \
				--require should \
				--reporter spec \
				$(TESTS)

clean:
		rm -rf ./node_modules ansi_up.js

.PHONY:	test