Skip to content

Commit abc34fe

Browse files
author
Alexander Kern
committed
Add back in the lib files.
1 parent 220a22f commit abc34fe

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+9289
-5
lines changed

Cakefile

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,14 @@ walkBuildFiles = (callback) ->
2525
walk 'build', (file) ->
2626
callback file if file.indexOf(".min.") == -1
2727

28-
task 'build', 'compile and minify CoffeeScript', (options) ->
28+
task 'build', 'compile the CoffeeScript', (options) ->
2929
console.log 'Compiling CoffeeScript...'
3030
exec([
3131
'rm -rf build',
3232
'cp -r lib build',
3333
'coffee -c -l -b build',
3434
'rm build/**/*.coffee'
3535
].join(' && '))
36-
37-
invoke 'min'
3836

3937
task 'clean', 'remove all the compiled JavaScript files', (options) ->
4038
exec 'rm -rf build'
@@ -50,4 +48,10 @@ task 'lint', 'run JSLint on the compiled JavaScript files', (options) ->
5048
walkBuildFiles (file) ->
5149
exec "node_modules/.bin/jslint #{file}", (err, stdout, stderr) ->
5250
console.log "Running JSLint on #{green}#{file}#{reset}:"
53-
console.log stdout
51+
console.log stdout
52+
53+
task 'spec', 'run all specs', (options) ->
54+
log 'Running spec suite...', green
55+
exec 'node_modules/.bin/vows --spec spec/*_spec.coffee', (err, stdout, stderr) ->
56+
process.stdout.write stdout
57+
process.binding('stdio').writeError stderr

0 commit comments

Comments
 (0)