UNPKG

fdongles

Version:

An IRC framework that supports plugin modules and middleware

17 lines (12 loc) 533 B
james = require("james") coffee = require("james-coffee") james.task "build", -> james.list("src/*.coffee").forEach (file) -> james.read(file).transform(coffee(bare: true)) .write file.replace("src", ".").replace(".coffee", ".js") james.task "actual_watch", -> james.watch "src/*.coffee", (event, file) -> james.read(file).transform(coffee(bare: true)) .write file.replace("src", ".").replace(".coffee", ".js") james.task 'default', ['build'] james.task 'watch', ['build', 'actual_watch']