Use test.html for previewing website changes.

This commit is contained in:
ccd0 2015-02-26 20:47:52 -08:00
parent 726e3d4e01
commit d10b833ca0
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

@ -112,6 +112,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:
@ -221,7 +224,7 @@ module.exports = (grunt) ->
markdown:
web:
src: 'README.md'
dest: 'index.html'
dest: 'test.html'
options:
template: 'template.jst'
@ -362,6 +365,7 @@ module.exports = (grunt) ->
grunt.registerTask 'web', [
'markdown:web'
'copy:web'
'shell:web'
]