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

Makefile 675B

1234567891011121314151617181920212223242526272829303132333435
  1. NODE_OPTS =
  2. TEST_OPTS =
  3. love:
  4. @echo "Feel like makin' love."
  5. test:
  6. @node $(NODE_OPTS) ./node_modules/.bin/_mocha -R dot $(TEST_OPTS)
  7. spec:
  8. @node $(NODE_OPTS) ./node_modules/.bin/_mocha -R spec $(TEST_OPTS)
  9. autotest:
  10. @node $(NODE_OPTS) ./node_modules/.bin/_mocha -R dot --watch $(TEST_OPTS)
  11. autospec:
  12. @node $(NODE_OPTS) ./node_modules/.bin/_mocha -R spec --watch $(TEST_OPTS)
  13. pack:
  14. @file=$$(npm pack); echo "$$file"; tar tf "$$file"
  15. publish:
  16. npm publish
  17. tag:
  18. git tag "v$$(node -e 'console.log(require("./package").version)')"
  19. clean:
  20. rm -f *.tgz
  21. npm prune --production
  22. .PHONY: love
  23. .PHONY: test spec autotest autospec
  24. .PHONY: pack publish tag
  25. .PHONY: clean