8fcd591cb0
* Add basic structure based on rulebook * Remove the sheet page
33 lines
677 B
JavaScript
33 lines
677 B
JavaScript
const { src, dest, parallel } = require('gulp');
|
|
const include = require('gulp-include');
|
|
const sass = require('gulp-sass');
|
|
const cleanCSS = require('gulp-clean-css');
|
|
|
|
sass.compiler = require('node-sass');
|
|
|
|
function html() {
|
|
return src('static/*')
|
|
.pipe(include())
|
|
.pipe(dest('dist'))
|
|
}
|
|
|
|
function dep() {
|
|
return src(['dep/**/*'])
|
|
.pipe(dest('dist/dep'));
|
|
}
|
|
|
|
function assets() {
|
|
return src(['assets/**/*'])
|
|
.pipe(dest('dist'));
|
|
}
|
|
|
|
function rules() {
|
|
return src(['univers/**/*'])
|
|
.pipe(dest('dist'));
|
|
}
|
|
|
|
exports.html = html;
|
|
exports.dep = dep;
|
|
exports.assets = assets;
|
|
exports.rules = rules;
|
|
exports.default = parallel(html, dep, assets, rules);
|