Repositorio del curso CCOM4030 el semestre B91 del proyecto Artesanías con el Instituto de Cultura

Makefile 531B

123456789101112131415161718192021
  1. TESTS := \
  2. tests/test-simple.js
  3. PATH := ./node_modules/.bin:$(PATH)
  4. WHISKEY := $(shell bash -c 'PATH=$(PATH) type -p whiskey')
  5. default: test
  6. test:
  7. NODE_PATH=`pwd`/lib/ ${WHISKEY} --scope-leaks --sequential --real-time --tests "${TESTS}"
  8. tap:
  9. NODE_PATH=`pwd`/lib/ ${WHISKEY} --test-reporter tap --sequential --real-time --tests "${TESTS}"
  10. coverage:
  11. NODE_PATH=`pwd`/lib/ ${WHISKEY} --sequential --coverage --coverage-reporter html --coverage-dir coverage_html --tests "${TESTS}"
  12. .PHONY: default test coverage tap scope