aboutsummaryrefslogtreecommitdiff
path: root/semantic/tasks/build.js
diff options
context:
space:
mode:
authorFuwn <[email protected]>2020-12-14 23:21:39 -0800
committerFuwn <[email protected]>2020-12-14 23:21:39 -0800
commit823344c19094680e80e2b56449a243e183db8b06 (patch)
tree92277700547ea671331828caa258ace7aaaa46d5 /semantic/tasks/build.js
parentrepo: angular (diff)
downloadme-823344c19094680e80e2b56449a243e183db8b06.tar.xz
me-823344c19094680e80e2b56449a243e183db8b06.zip
:star:
Diffstat (limited to 'semantic/tasks/build.js')
-rw-r--r--semantic/tasks/build.js23
1 files changed, 23 insertions, 0 deletions
diff --git a/semantic/tasks/build.js b/semantic/tasks/build.js
new file mode 100644
index 0000000..0a024d3
--- /dev/null
+++ b/semantic/tasks/build.js
@@ -0,0 +1,23 @@
+/*******************************
+ * Build Task
+ *******************************/
+
+var
+ // dependencies
+ gulp = require('gulp'),
+
+ // config
+ install = require('./config/project/install')
+;
+
+module.exports = function (callback) {
+
+ console.info('Building Semantic');
+
+ if (!install.isSetup()) {
+ console.error('Cannot find semantic.json. Run "gulp install" to set-up Semantic');
+ return 1;
+ }
+
+ gulp.series('build-css', 'build-javascript', 'build-assets')(callback);
+};