Skip to content
This repository has been archived by the owner on Dec 3, 2023. It is now read-only.

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
fent committed Aug 19, 2011
1 parent bb5c5fb commit 5c6ff08
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions Cakefile
Original file line number Diff line number Diff line change
@@ -1,19 +1,12 @@
{spawn, exec} = require('child_process')
{spawn, exec} = require 'child_process'

execcb = (err, stdout, stderr) ->
throw err if err
task 'build', 'Build project from src/*.coffee to lib/*.js', ->
exec 'coffee -o lib -c src', (err) -> throw err if err

datacb = (data) ->
console.log data.toString().replace /\s+$/, ''

task 'build', 'Build project from src/*.coffee to lib/*.js', ->
exec 'coffee -o lib -c src', execcb
exec 'coffee -c scripts', execcb

task 'watch', 'Build and watch for changes', ->
child = spawn 'coffee', ['-w', '-o', 'lib', '-c', 'src']
child.stdout.on 'data', datacb
child.stderr.on 'data', datacb
child2 = spawn 'coffee', ['-w', '-c', 'scripts']
child2.stdout.on 'data', datacb
child2.stderr.on 'data', datacb
Empty file modified README.md
100755 → 100644
Empty file.
Empty file modified example/download.js
100755 → 100644
Empty file.
Empty file modified example/info.js
100755 → 100644
Empty file.
Empty file modified package.json
100755 → 100644
Empty file.
Empty file modified src/youtube-dl.coffee
100755 → 100644
Empty file.
Empty file modified test/download.coffee
100755 → 100644
Empty file.
Empty file modified test/info.coffee
100755 → 100644
Empty file.

0 comments on commit 5c6ff08

Please sign in to comment.