mirror of https://github.com/lukechilds/docs.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
643 B
25 lines
643 B
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
|