diff --git a/gulp/content/actions.js b/build/actions.js similarity index 100% rename from gulp/content/actions.js rename to build/actions.js diff --git a/gulp/content/asset.js b/build/asset.js similarity index 100% rename from gulp/content/asset.js rename to build/asset.js diff --git a/gulp/content/cache.js b/build/cache.js similarity index 100% rename from gulp/content/cache.js rename to build/cache.js diff --git a/gulp/content/engines.js b/build/engines.js similarity index 100% rename from gulp/content/engines.js rename to build/engines.js diff --git a/gulp/content/evaluate.js b/build/evaluate.js similarity index 100% rename from gulp/content/evaluate.js rename to build/evaluate.js diff --git a/gulp/content/favicon.js b/build/favicon.js similarity index 100% rename from gulp/content/favicon.js rename to build/favicon.js diff --git a/gulp/content/file.js b/build/file.js similarity index 100% rename from gulp/content/file.js rename to build/file.js diff --git a/gulp/content/index.js b/build/index.js similarity index 100% rename from gulp/content/index.js rename to build/index.js diff --git a/gulp/content/lib/dimensions.js b/build/lib/dimensions.js similarity index 100% rename from gulp/content/lib/dimensions.js rename to build/lib/dimensions.js diff --git a/gulp/content/lib/glob.js b/build/lib/glob.js similarity index 100% rename from gulp/content/lib/glob.js rename to build/lib/glob.js diff --git a/gulp/content/lib/markdown-raw-html.js b/build/lib/markdown-raw-html.js similarity index 100% rename from gulp/content/lib/markdown-raw-html.js rename to build/lib/markdown-raw-html.js diff --git a/gulp/content/lib/markdown-token-filter.js b/build/lib/markdown-token-filter.js similarity index 100% rename from gulp/content/lib/markdown-token-filter.js rename to build/lib/markdown-token-filter.js diff --git a/gulp/content/lib/random.js b/build/lib/random.js similarity index 100% rename from gulp/content/lib/random.js rename to build/lib/random.js diff --git a/gulp/content/lib/tweetparse.js b/build/lib/tweetparse.js similarity index 100% rename from gulp/content/lib/tweetparse.js rename to build/lib/tweetparse.js diff --git a/gulp/content/lib/util.js b/build/lib/util.js similarity index 100% rename from gulp/content/lib/util.js rename to build/lib/util.js diff --git a/gulp/content/page-tweets.js b/build/page-tweets.js similarity index 100% rename from gulp/content/page-tweets.js rename to build/page-tweets.js diff --git a/gulp/content/page-writer.js b/build/page-writer.js similarity index 100% rename from gulp/content/page-writer.js rename to build/page-writer.js diff --git a/gulp/content/page.js b/build/page.js similarity index 100% rename from gulp/content/page.js rename to build/page.js diff --git a/gulp/content/public.js b/build/public.js similarity index 100% rename from gulp/content/public.js rename to build/public.js diff --git a/gulp/content/resolve.js b/build/resolve.js similarity index 98% rename from gulp/content/resolve.js rename to build/resolve.js index 8dc5647..af50d53 100644 --- a/gulp/content/resolve.js +++ b/build/resolve.js @@ -1,6 +1,6 @@ const path = require('path'); -const ROOT = path.resolve(__dirname, '../..'); +const ROOT = path.resolve(__dirname, '..'); const fs = require('fs-extra'); const { is: _is } = require('./lib/util'); diff --git a/gulp/content/scripts.js b/build/scripts.js similarity index 100% rename from gulp/content/scripts.js rename to build/scripts.js diff --git a/gulp/content/scss.js b/build/scss.js similarity index 100% rename from gulp/content/scss.js rename to build/scss.js diff --git a/gulp/content/svg.js b/build/svg.js similarity index 100% rename from gulp/content/svg.js rename to build/svg.js diff --git a/gulp/content/twitter.js b/build/twitter.js similarity index 100% rename from gulp/content/twitter.js rename to build/twitter.js diff --git a/gulp/index.js b/gulp/index.js index 5dcc166..b1f1250 100644 --- a/gulp/index.js +++ b/gulp/index.js @@ -3,10 +3,10 @@ const { series, watch } = require('gulp'); /** **************************************************************************************************************** **/ -var content = require('./content'); +var build = require('../build'); -const devBuildTask = content.everything(); -const prodBuildTask = content.everything(true); +const devBuildTask = build.everything(); +const prodBuildTask = build.everything(true); var cleanTask = require('./clean'); exports.clean = cleanTask; @@ -44,12 +44,10 @@ function watcher () { } function server () { - var forever = require('forever'); var srv = new forever.Monitor('server.js'); srv.start(); forever.startServer(srv); - } exports.watch = series(devBuildTask, watcher);