Makefile 643 B

12345678910111213141516171819202122232425
  1. build:
  2. mkdir -p lib
  3. rm -rf lib/*
  4. node_modules/.bin/coffee --compile --output lib/ src/
  5. watch:
  6. node_modules/.bin/coffee --watch --compile --output lib/ src/
  7. test:
  8. node_modules/.bin/mocha
  9. jumpstart:
  10. curl -u 'meryn' https://api.github.com/user/repos -d '{"name":"performance-now", "description":"Implements performance.now (based on process.hrtime).","private":false}'
  11. mkdir -p src
  12. touch src/performance-now.coffee
  13. mkdir -p test
  14. touch test/performance-now.coffee
  15. npm install
  16. git init
  17. git remote add origin git@github.com:meryn/performance-now
  18. git add .
  19. git commit -m "jumpstart commit."
  20. git push -u origin master
  21. .PHONY: test