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-crx/
|
||||||
tmp-userscript/
|
tmp-userscript/
|
||||||
testbuilds/
|
testbuilds/
|
||||||
|
test.html
|
||||||
Gruntfile.js
|
Gruntfile.js
|
||||||
|
|||||||
@ -112,6 +112,9 @@ module.exports = (grunt) ->
|
|||||||
filter: (src) ->
|
filter: (src) ->
|
||||||
pkg = grunt.config 'pkg'
|
pkg = grunt.config 'pkg'
|
||||||
grunt.file.isFile(src) and !grunt.file.isMatch(src, "testbuilds/#{pkg.name}#{pkg.meta.suffix.dev}.user.js")
|
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:
|
coffee:
|
||||||
script:
|
script:
|
||||||
@ -221,7 +224,7 @@ module.exports = (grunt) ->
|
|||||||
markdown:
|
markdown:
|
||||||
web:
|
web:
|
||||||
src: 'README.md'
|
src: 'README.md'
|
||||||
dest: 'index.html'
|
dest: 'test.html'
|
||||||
options:
|
options:
|
||||||
template: 'template.jst'
|
template: 'template.jst'
|
||||||
|
|
||||||
@ -362,6 +365,7 @@ module.exports = (grunt) ->
|
|||||||
|
|
||||||
grunt.registerTask 'web', [
|
grunt.registerTask 'web', [
|
||||||
'markdown:web'
|
'markdown:web'
|
||||||
|
'copy:web'
|
||||||
'shell:web'
|
'shell:web'
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user