From 05647d6fc6869eaf38a405345dd54ec0208f14b0 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Thu, 26 Feb 2015 20:47:52 -0800 Subject: [PATCH] Use test.html for previewing website changes. --- .gitignore | 1 + Gruntfile.coffee | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index e962dde16..e0a8e771f 100644 --- a/.gitignore +++ b/.gitignore @@ -5,4 +5,5 @@ node_modules/ tmp-crx/ tmp-userscript/ testbuilds/ +test.html Gruntfile.js diff --git a/Gruntfile.coffee b/Gruntfile.coffee index f3790f1f8..39e2878ca 100755 --- a/Gruntfile.coffee +++ b/Gruntfile.coffee @@ -111,6 +111,9 @@ module.exports = (grunt) -> filter: (src) -> pkg = grunt.config 'pkg' grunt.file.isFile(src) and !grunt.file.isMatch(src, "testbuilds/#{pkg.name}#{pkg.meta.suffix.dev}.user.js") + web: + src: 'test.html' + dest: 'index.html' coffee: script: @@ -220,7 +223,7 @@ module.exports = (grunt) -> markdown: web: src: 'README.md' - dest: 'index.html' + dest: 'test.html' options: template: 'template.jst' @@ -361,6 +364,7 @@ module.exports = (grunt) -> grunt.registerTask 'web', [ 'markdown:web' + 'copy:web' 'shell:web' ]