1 | #!/usr/bin/env coffee
|
2 |
|
3 | # Error
|
4 | console.log 'Command line buildr may not currently work due to this bug: https://github.com/balupton/buildr.npm/issues/8'
|
5 |
|
6 | # Requires
|
7 | cson = require 'cson'
|
8 | buildr = require __dirname+'/../lib/buildr.coffee'
|
9 | cwd = process.cwd()
|
10 |
|
11 | # Parse the config file
|
12 | cson.parseFile "#{cwd}/buildr.cson", (err,config) ->
|
13 | throw err if err
|
14 | myBuildr = buildr.createInstance(config)
|
15 | myBuildr.process (err) ->
|
16 | throw err if err
|