Skip to content

Commit

Permalink
Merge branch 'master' of github.com:activeuser/au
Browse files Browse the repository at this point in the history
  • Loading branch information
fhwrdh committed Jul 25, 2012
2 parents 0d7abbe + 6c28eda commit 962e055
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 17 deletions.
18 changes: 3 additions & 15 deletions .gitignore
@@ -1,15 +1,3 @@
lib-cov
*.seed
*.log
*.csv
*.dat
*.out
*.pid
*.gz

pids
logs
results

node_modules
npm-debug.log
node_modules/
npm-debug.log
lib/
4 changes: 4 additions & 0 deletions .npmignore
@@ -0,0 +1,4 @@
node_modules/
Cakefile
test/
src/
20 changes: 20 additions & 0 deletions Cakefile
@@ -0,0 +1,20 @@
{exec} = require './src/utils'

task 'build', 'compile src/*.coffee to lib/*.js', ->
console.log 'Compiling src/*.coffee to lib/*.js'
exec './node_modules/.bin/coffee -bc -o lib/ src/'

task 'gh-pages', 'Publish docs to gh-pages', ->
brief = require('brief')
quiet: false
brief.updateGithubPages()

task 'test', 'Run tests', ->
exec './node_modules/.bin/mocha ./test --compilers coffee:coffee-script -R spec -t 5000 -c'

task 'publish', 'publish current version to NPM', ->
exec [
'./node_modules/.bin/coffee -bc -o lib/ src/'
'git push'
'npm publish'
]
13 changes: 11 additions & 2 deletions package.json
Expand Up @@ -22,7 +22,16 @@
"licenses": [
{
"type": "MIT",
"url": "https://github.com/activeuser/au/blob/master/LICENSE"

"url": "https://raw.github.com/activeuser/au/master/LICENSE"
}
]
],
"dependencies": {
"commander": "~1.0.0"
},
"devDependencies": {
"coffee-script": "~1.3.3",
"brief": "~0.4.0",
"mocha": "~1.3.0"
}
}

0 comments on commit 962e055

Please sign in to comment.