Use test.html for previewing website changes.

This commit is contained in:
ccd0 2015-02-26 20:47:52 -08:00
parent c763129fc1
commit 05647d6fc6
2 changed files with 6 additions and 1 deletions

1
.gitignore vendored
View File

@ -5,4 +5,5 @@ node_modules/
tmp-crx/
tmp-userscript/
testbuilds/
test.html
Gruntfile.js

View File

@ -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'
]