Skip to content

Commit

Permalink
unify declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek committed Dec 25, 2022
1 parent a6fa372 commit 5feb4cf
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 17 deletions.
11 changes: 6 additions & 5 deletions tasks/collections/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@
* Define Build Sub-Tasks
*******************************/

const watch = require('../watch');
const watch = require('../watch'),

// build sub-tasks
const build = require('../build');
const buildJS = require('../build/javascript');
const buildCSS = require('../build/css');
const buildAssets = require('../build/assets');
build = require('../build'),
buildJS = require('../build/javascript'),
buildCSS = require('../build/css'),
buildAssets = require('../build/assets')
;

module.exports = function (gulp) {
gulp.task('watch', watch);
Expand Down
5 changes: 3 additions & 2 deletions tasks/collections/docs.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
*******************************/

// docs tasks
const buildDocs = require('../docs/build');
const serveDocs = require('../docs/serve');
const buildDocs = require('../docs/build'),
serveDocs = require('../docs/serve')
;

/*
Lets you serve files to a local documentation instance
Expand Down
5 changes: 3 additions & 2 deletions tasks/collections/install.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
*******************************/

// docs tasks
const install = require('../install');
const checkInstall = require('../check-install');
const install = require('../install'),
checkInstall = require('../check-install')
;

/*
Lets you serve files to a local documentation instance
Expand Down
5 changes: 3 additions & 2 deletions tasks/collections/rtl.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
* Define RTL Sub-Tasks
*******************************/

const buildRTL = require('../rtl/build');
const watchRTL = require('../rtl/watch');
const buildRTL = require('../rtl/build'),
watchRTL = require('../rtl/watch')
;

module.exports = function (gulp) {
gulp.task('watch-rtl', watchRTL);
Expand Down
5 changes: 3 additions & 2 deletions tasks/collections/various.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
* Define Various Sub-Tasks
*******************************/

const clean = require('../clean');
const version = require('../version');
const clean = require('../clean'),
version = require('../version')
;

/*
Lets you serve files to a local documentation instance
Expand Down
5 changes: 3 additions & 2 deletions tasks/rtl/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
* Build Task
*******************************/

const gulp = require('gulp');
const build = require('../build');
const gulp = require('gulp'),
build = require('../build')
;

// RTL builds are now handled by the default build process
module.exports = function (callback) {
Expand Down
6 changes: 4 additions & 2 deletions tasks/rtl/watch.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
* Watch Task
*******************************/

const gulp = require('gulp');
const watch = require('../watch');
const
gulp = require('gulp'),
watch = require('../watch')
;

// RTL watch are now handled by the default watch process
module.exports = function (callback) {
Expand Down

0 comments on commit 5feb4cf

Please sign in to comment.