Skip to content
Browse files

Deleted some CoffeeScript artifacts.

  • Loading branch information...
1 parent 5a0cdcf commit b0adcc97f715d5749a216c1e88b1c26794720218 @jprichardson committed Jan 23, 2013
Showing with 0 additions and 44 deletions.
  1. +0 −44 Cakefile
  2. BIN resources/error.png
View
44 Cakefile
@@ -1,44 +0,0 @@
-{spawn} = require('child_process')
-testutil = require('testutil')
-
-if process.platform is 'darwin'
- growl = require('growl')
-
-option '-g', '--grep [PATTERN]', 'only run tests matching <pattern>'
-
-task 'build', 'build lib/ from src/', ->
- coffee = spawn 'coffee', ['-c', '-o', 'lib', 'src']
- coffee.stderr.on 'data', (data) -> process.stderr.write data.toString()
- coffee.stdout.on 'data', (data) -> process.stdout.write data.toString()
- coffee.on 'exit', (code) ->
- if code is 0
- console.log 'Successfully built.'
- else
- console.log "Error building. Code: #{code}"
-
-task 'test', 'test project', (options) ->
- process.env['NODE_ENV'] = 'testing'
- testutil.fetchTestFiles './test', (files) ->
- files.unshift '--colors'
- if options.grep?
- files.unshift options.grep
- files.unshift '--grep'
-
- mocha = spawn 'mocha', files#, customFds: [0..2]
- mocha.stdout.pipe(process.stdout, end: false);
- mocha.stderr.pipe(process.stderr, end: false);
-
- task 'watch', 'Watch src/ for changes', ->
- coffee = spawn 'coffee', ['-w', '-c', '-o', 'lib', 'src']
- coffee.stderr.on 'data', (data) -> 'ERR: ' + process.stderr.write data.toString()
- coffee.stdout.on 'data', (data) ->
- d = data.toString()
- if d.indexOf('compiled') > 0
- #invoke 'test'
- do (->)
- else
- if growl? then growl(d, title: 'Error', image: './resources/error.png')
-
- process.stdout.write data.toString()
-
- #mocha = spawn 'mocha', ['-w']
View
BIN resources/error.png
Deleted file not rendered

0 comments on commit b0adcc9

Please sign in to comment.
Something went wrong with that request. Please try again.