a7cb5cfc2600a332c4f767b9ec766598589f748cce6318d09bfd613cbb00fc89790c962c269de19795886bc39c4ca1bab8ce16641fb8aeec4afd533767aaf6 675 B

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