mirror of
https://github.com/vacp2p/vac.dev-experimental-old.git
synced 2025-01-12 14:55:04 +00:00
Format file, add comments for clarity
This commit is contained in:
parent
69d24feea3
commit
a43b56a5d7
@ -2,18 +2,19 @@ const gulp = require('gulp');
|
||||
const gutil = require('gulp-util');
|
||||
const child = require('child_process');
|
||||
const browserSync = require('browser-sync').create();
|
||||
|
||||
const siteRoot = '_site';
|
||||
const mainCSS = 'src/style.css'; /* Main stylesheet (pre-build) */
|
||||
const tailwindConfig = 'tailwind.js'; /* Tailwind config */
|
||||
|
||||
var jekyll = process.platform === 'win32' ? 'jekyll.bat' : 'jekyll';
|
||||
const jekyll = process.platform === 'win32' ? 'jekyll.bat' : 'jekyll'; /* Fix Windows compatibility issue */
|
||||
|
||||
/**
|
||||
* Build the Jekyll Site
|
||||
* Build Jekyll Site
|
||||
*/
|
||||
gulp.task('jekyll-build', function () {
|
||||
browserSync.notify('Running: $ jekyll build');
|
||||
return child.spawn( jekyll , ['build'], {stdio: 'inherit'});
|
||||
return child.spawn(jekyll, ['build'], {stdio: 'inherit'});
|
||||
});
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user