pixsy/node_modules/performance-now/Makefile

25 lines
643 B
Makefile
Raw Normal View History

2017-12-22 17:22:08 +00:00
build:
mkdir -p lib
rm -rf lib/*
node_modules/.bin/coffee --compile --output lib/ src/
watch:
node_modules/.bin/coffee --watch --compile --output lib/ src/
test:
node_modules/.bin/mocha
jumpstart:
curl -u 'meryn' https://api.github.com/user/repos -d '{"name":"performance-now", "description":"Implements performance.now (based on process.hrtime).","private":false}'
mkdir -p src
touch src/performance-now.coffee
mkdir -p test
touch test/performance-now.coffee
npm install
git init
git remote add origin git@github.com:meryn/performance-now
git add .
git commit -m "jumpstart commit."
git push -u origin master
.PHONY: test