File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -14,12 +14,14 @@ var POUCHDB_LESS = __dirname + '/../docs/static/less/pouchdb/pouchdb.less';
14
14
process . chdir ( 'docs' ) ;
15
15
16
16
function checkJekyll ( ) {
17
+ console . log ( 'checkJekyll()' ) ;
17
18
return exec ( 'bundle check' ) . catch ( function ( ) {
18
19
throw new Error ( 'Jekyll is not installed. You need to do: npm run install-jekyll' ) ;
19
20
} ) ;
20
21
}
21
22
22
23
function buildCSS ( ) {
24
+ console . log ( 'buildCSS()' ) ;
23
25
mkdirp . sync ( __dirname + '/../docs/static/css' ) ;
24
26
var cmd = __dirname + '/../node_modules/less/bin/lessc ' + POUCHDB_LESS ;
25
27
return exec ( cmd ) . then ( function ( child ) {
@@ -30,6 +32,7 @@ function buildCSS() {
30
32
}
31
33
32
34
function buildJekyll ( path ) {
35
+ console . log ( 'buildJekyll()' ) ;
33
36
// Dont rebuild on website artifacts being written
34
37
if ( path && / ^ _ s i t e / . test ( path . relative ) ) {
35
38
return ;
@@ -43,6 +46,7 @@ function buildJekyll(path) {
43
46
}
44
47
45
48
function highlightEs6 ( ) {
49
+ console . log ( 'highlightEs6()' ) ;
46
50
var path = require ( 'path' ) . resolve ( __dirname , '../docs/_site' ) ;
47
51
48
52
// TODO: this is a fragile and hacky way to get
@@ -62,6 +66,7 @@ function onError(err) {
62
66
}
63
67
64
68
function buildEverything ( ) {
69
+ console . log ( 'buildEverything()' ) ;
65
70
return Promise . resolve ( )
66
71
. then ( checkJekyll )
67
72
. then ( buildCSS )
You can’t perform that action at this time.
0 commit comments