No Description

Makefile 812B

1234567891011121314151617181920212223242526272829303132
  1. EXPRESSO ?= `which expresso`
  2. DOCCO ?= `which docco`
  3. WATCHR ?= `which watchr`
  4. test:
  5. @@if test ! -z ${EXPRESSO}; then \
  6. expresso test/*.test.js; \
  7. else \
  8. echo "Running the tests requires expresso."; \
  9. echo "You can install it by running: npm install expresso -g"; \
  10. fi
  11. docs:
  12. @@if test ! -z ${DOCCO}; then \
  13. docco index.js; \
  14. docco lib/*.js; \
  15. else \
  16. echo "You must have docco installed in order to build the documentation."; \
  17. echo "You can install it by running: npm install docco -g"; \
  18. fi
  19. watch:
  20. @@if test ! -z ${WATCHR}; then \
  21. echo "Watching lib and test folders..."; \
  22. watchr aux/watching.rb; \
  23. else \
  24. echo "You must have the watchr installed in order to watch Full Meta Jacket."; \
  25. echo "You can install it by running: gem install watchr"; \
  26. fi
  27. .PHONY: test docs watch