Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

update

  • Loading branch information...
commit 5c6ff08d0924828173f577255bc894183142f7f8 1 parent bb5c5fb
Roly Fentanes fent authored
13 Cakefile
... ... @@ -1,19 +1,12 @@
1   -{spawn, exec} = require('child_process')
  1 +{spawn, exec} = require 'child_process'
2 2
3   -execcb = (err, stdout, stderr) ->
4   - throw err if err
  3 +task 'build', 'Build project from src/*.coffee to lib/*.js', ->
  4 + exec 'coffee -o lib -c src', (err) -> throw err if err
5 5
6 6 datacb = (data) ->
7 7 console.log data.toString().replace /\s+$/, ''
8 8
9   -task 'build', 'Build project from src/*.coffee to lib/*.js', ->
10   - exec 'coffee -o lib -c src', execcb
11   - exec 'coffee -c scripts', execcb
12   -
13 9 task 'watch', 'Build and watch for changes', ->
14 10 child = spawn 'coffee', ['-w', '-o', 'lib', '-c', 'src']
15 11 child.stdout.on 'data', datacb
16 12 child.stderr.on 'data', datacb
17   - child2 = spawn 'coffee', ['-w', '-c', 'scripts']
18   - child2.stdout.on 'data', datacb
19   - child2.stderr.on 'data', datacb
0  README.md 100755 → 100644
File mode changed
0  example/download.js 100755 → 100644
File mode changed
0  example/info.js 100755 → 100644
File mode changed
0  package.json 100755 → 100644
File mode changed
0  src/youtube-dl.coffee 100755 → 100644
File mode changed
0  test/download.coffee 100755 → 100644
File mode changed
0  test/info.coffee 100755 → 100644
File mode changed

0 comments on commit 5c6ff08

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