Use test.html for previewing website changes.
This commit is contained in:
parent
726e3d4e01
commit
d10b833ca0
1
.gitignore
vendored
1
.gitignore
vendored
@ -5,4 +5,5 @@ node_modules/
|
||||
tmp-crx/
|
||||
tmp-userscript/
|
||||
testbuilds/
|
||||
test.html
|
||||
Gruntfile.js
|
||||
|
||||
@ -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'
|
||||
]
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user