diff --git a/gulpfile.js b/gulpfile.js index 4250fc1..c777929 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -98,7 +98,7 @@ if (fs.existsSync('source/data/data.json')) { // Clean build folder function clean() { - return del(output.root + '/**'); + return del([output.root + '/**', output.reports + '/**']); } // Automagically reload browsers @@ -289,8 +289,10 @@ function vendor() { function overview() { watch([input.templates, input.screens, input.demo.data], series(nunjucks, reload)); - watch(input.style, series(styleLint, style, reload)); - watch(input.code, series(codeLint, code, reload)); + // watch(input.style, series(styleLint, style, reload)); + watch(input.style, series(style, reload)); + // watch(input.code, series(codeLint, code, reload)); + watch(input.code, series(code, reload)); watch(input.fonts, series(fonts, reload)); watch(input.art.sprites, series(parallel(sprites, style), reload)); watch([input.art.favicons, input.art.images], series(art, reload)); @@ -299,7 +301,8 @@ function overview() { const assets = parallel(fonts, art, sprites, json, vendor); const build = series(clean, assets, parallel(nunjucks, style, code)); -const dev = series(clean, assets, parallel(nunjucks, series(styleLint, style), series(codeLint, code))); +// const dev = series(clean, assets, parallel(nunjucks, series(styleLint, style), series(codeLint, code))); +const dev = series(clean, assets, parallel(nunjucks, style, code)); exports.lint = parallel(series(style, styleLint), series(code, codeLint)); exports.validate = series(nunjucks, validate); diff --git a/package.json b/package.json index 2e0d14b..5dd2621 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,10 @@ "description": "Hippie interweaves preeminent personal interface elements", "main": "gulpfile.js", "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "test": "echo \"Error: no test specified\" && exit 1", + "preversion": "npm test", + "version": "gulp build && git add -A dist", + "postversion": "git push && git push --tags" }, "repository": { "type": "git", @@ -49,4 +52,4 @@ "pump": "^3.0.0" }, "dependencies": {} -} +} \ No newline at end of file diff --git a/source/style/hippie-style b/source/style/hippie-style index cb93384..5001765 160000 --- a/source/style/hippie-style +++ b/source/style/hippie-style @@ -1 +1 @@ -Subproject commit cb93384315c73cb926da7dc3838cb7226015180a +Subproject commit 50017657bacfe56d718cd906a858cfcd404362d9