diff --git a/Cakefile b/Cakefile index 96e71dc1c..1b1645407 100644 --- a/Cakefile +++ b/Cakefile @@ -4,7 +4,7 @@ fs = require 'fs' HEADER = fs.readFileSync 'header', 'utf8' INFILE = 'script.coffee' -OUTFILE = '4chan_x.js' +OUTFILE = '4chan_x.user.js' build = -> fs.readFile INFILE, 'utf8', (err, code) -> @@ -16,6 +16,9 @@ build = -> fs.writeFile OUTFILE, code, (err) -> throw err if err +task 'build', -> + build() + task 'dev', -> build() fs.watchFile INFILE, interval: 250, (curr, prev) ->