mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-25 12:34:47 -04:00
Moves index.html to jade. Minor changes.
This commit is contained in:
parent
bdcab107eb
commit
a99c28f234
8 changed files with 101 additions and 79 deletions
18
makefile.js
18
makefile.js
|
@ -36,7 +36,7 @@ var version = '0.22-dev-8',
|
|||
|
||||
mapper = function (blob) {
|
||||
|
||||
return blob.source.replace(src, build).replace(/\.less$/, '.css');
|
||||
return blob.source.replace(src, build).replace(/\.less$/, '.css').replace(/\.jade$/, '.html');
|
||||
},
|
||||
|
||||
mapperRoot = function (blob) {
|
||||
|
@ -118,7 +118,13 @@ module.exports = function (make) {
|
|||
.cssmin()
|
||||
.write($.OVERWRITE, mapper);
|
||||
|
||||
$(src + ': **, ! _h5ai/js/**, ! _h5ai/css/**')
|
||||
$(src + ': **/*.jade')
|
||||
.modified(mapper)
|
||||
.handlebars(replacements)
|
||||
.jade()
|
||||
.write($.OVERWRITE, mapper);
|
||||
|
||||
$(src + ': **, ! _h5ai/js/**, ! _h5ai/css/**, ! **/*.jade')
|
||||
.modified(mapper)
|
||||
.handlebars(replacements)
|
||||
.write($.OVERWRITE, mapper);
|
||||
|
@ -144,7 +150,13 @@ module.exports = function (make) {
|
|||
// .cssmin()
|
||||
.write($.OVERWRITE, mapper);
|
||||
|
||||
$(src + ': **, ! _h5ai/js/**, ! _h5ai/css/**')
|
||||
$(src + ': **/*.jade')
|
||||
.modified(mapper)
|
||||
.handlebars(replacements)
|
||||
.jade()
|
||||
.write($.OVERWRITE, mapper);
|
||||
|
||||
$(src + ': **, ! _h5ai/js/**, ! _h5ai/css/**, ! **/*.jade')
|
||||
.modified(mapper)
|
||||
.handlebars(replacements)
|
||||
.write($.OVERWRITE, mapper);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue