Permalink
Browse files

Update liferay-gulp-task version; Use user defined gulp version

  • Loading branch information...
1 parent 024ebf0 commit 4eac3a8697c3e3b919fae74609063c938f009afc @jonmak08 jonmak08 committed Mar 9, 2016
Showing with 7 additions and 7 deletions.
  1. +6 −6 gulpfile.js
  2. +1 −1 package.json
View
@@ -1,11 +1,11 @@
-var liferayGulpTasks = require('liferay-gulp-tasks');
+var options = {
+ artifactName: 'alloy-ui',
+ artifactSrc: ['**/*', '!node_modules/', '!node_modules/**', '!bower_components/', '!bower_components/**']
+};
+
+var gulp = require('liferay-gulp-tasks')(require('gulp'), options);
var requireDir = require('require-dir');
var tasksDir = requireDir('./tasks');
-liferayGulpTasks.registerTasks({
- artifactName: 'alloy-ui',
- artifactSrc: ['**/*', '!node_modules/', '!node_modules/**', '!bower_components/', '!bower_components/**']
-});
-
// Add the node_modules/.bin directory to the PATH
require('spawn-local-bin').path(__dirname);
View
@@ -39,7 +39,7 @@
"imagemin-pngcrush": "^4.0.0",
"istanbul": "~0.3.0",
"jshint-stylish": "^1.0.0",
- "liferay-gulp-tasks": "^0.2.1",
+ "liferay-gulp-tasks": "^0.3.0",
"open": "~0.0.5",
"require-dir": "~0.1.0",
"run-sequence": "^1.0.1",

0 comments on commit 4eac3a8

Please sign in to comment.