From 8c6e4f822de53a040ed6f07cac134c5e0338bb09 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Sat, 9 Apr 2016 23:51:04 -0700 Subject: [PATCH] Run any other source files through templates.coffee to at least fix \r\n. --- Gruntfile.coffee | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Gruntfile.coffee b/Gruntfile.coffee index 3f6e5f2af..b1cbc3c51 100644 --- a/Gruntfile.coffee +++ b/Gruntfile.coffee @@ -61,18 +61,18 @@ module.exports = (grunt) -> crx: files: 'testbuilds/crx<%= pkg.channel %>/script.js': [ - 'src/meta/botproc.js' + 'tmp/botproc.js' 'tmp/LICENSE' - 'src/meta/usestrict.js' + 'tmp/usestrict.js' 'tmp/script-crx.js' ] userscript: files: 'testbuilds/<%= pkg.name %><%= pkg.channel %>.user.js': [ - 'src/meta/botproc.js' + 'tmp/botproc.js' 'testbuilds/<%= pkg.name %><%= pkg.channel %>.meta.js' 'tmp/LICENSE' - 'src/meta/usestrict.js' + 'tmp/usestrict.js' 'tmp/script-userscript.js' ] @@ -112,7 +112,9 @@ module.exports = (grunt) -> general: command: """ node_modules/.bin/coffee tools/templates.coffee src/meta/jshint.json .jshintrc + node_modules/.bin/coffee tools/templates.coffee src/meta/botproc.js tmp/botproc.js node_modules/.bin/coffee tools/templates.coffee LICENSE tmp/LICENSE + node_modules/.bin/coffee tools/templates.coffee src/meta/usestrict.js tmp/usestrict.js """.split('\n').join('&&').replace(/\//g, path.sep) crx: command: """