Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
| 1 |
|
| 2 |
SOURCE = *.ts |
| 3 |
TESTS = test/*.js |
| 4 |
REPORTER = dot |
| 5 |
|
| 6 |
typescript: |
| 7 |
./node_modules/.bin/tsc -p . |
| 8 |
cat ./umd.header ./dist/ansi_up.js ./umd.footer > ansi_up.js |
| 9 |
mv ./dist/ansi_up.js ./dist/ansi_up.js.include |
| 10 |
node ./scripts/fix-typings.js |
| 11 |
|
| 12 |
test: |
| 13 |
@NODE_ENV=test ./node_modules/.bin/mocha \ |
| 14 |
--require should \ |
| 15 |
--reporter $(REPORTER) \ |
| 16 |
$(TESTS) |
| 17 |
|
| 18 |
test_verbose: |
| 19 |
@NODE_ENV=test ./node_modules/.bin/mocha \ |
| 20 |
--require should \ |
| 21 |
--reporter spec \ |
| 22 |
$(TESTS) |
| 23 |
|
| 24 |
clean: |
| 25 |
rm -rf ./node_modules ansi_up.js |
| 26 |
|
| 27 |
.PHONY: test |