This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fs = require 'fs' | |
CoffeeScript = require 'coffee-script' | |
task "build:package", "Builds the package.json from its coffee source", (options) -> | |
js = CoffeeScript.compile "return #{fs.readFileSync('package.coffee', 'utf8')}" | |
json = JSON.stringify eval(js), null, 2 | |
fs.writeFileSync 'package.json', json | |
console.log('Successfully wrote out package.json') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
target/ | |
.idea/ | |
*~ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
target |
NewerOlder