Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Merge pull request #32 from vrockai/node_warn
Browse files Browse the repository at this point in the history
Got rid of node.js warnings
  • Loading branch information
mtho11 committed Feb 27, 2015
2 parents 784cd26 + da925d3 commit ef50e4d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
7 changes: 3 additions & 4 deletions ui/console/src/main/scripts/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
* limitations under the License.
*/
var gulp = require('gulp'),
del = require('del'),
wiredep = require('wiredep').stream,
eventStream = require('event-stream'),
gulpLoadPlugins = require('gulp-load-plugins'),
Expand Down Expand Up @@ -68,8 +69,7 @@ gulp.task('path-adjust', function () {
});

gulp.task('clean-defs', function () {
return gulp.src('defs.d.ts', {read: false})
.pipe(plugins.clean());
del(['defs.d.ts/**']);
});

gulp.task('tsc', ['clean-defs'], function () {
Expand Down Expand Up @@ -134,8 +134,7 @@ gulp.task('concat', ['template'], function () {
});

gulp.task('clean', ['concat'], function () {
return gulp.src(['templates.js', 'compiled.js'], {read: false})
.pipe(plugins.clean());
del(['templates.js', 'compiled.js']);
});

gulp.task('watch', ['build'], function () {
Expand Down
3 changes: 2 additions & 1 deletion ui/console/src/main/scripts/package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
{
"name": "hawkular-console",
"version": "0.1.0",
"private": true,
"devDependencies": {
"bower": "^1.3.12",
"del": "1.1.1",
"event-stream": "^3.1.7",
"gulp": "^3.8.10",
"gulp-angular-templatecache": "^1.5.0",
"gulp-clean": "^0.3.1",
"gulp-concat": "^2.4.2",
"gulp-connect": "^2.2.0",
"gulp-load-plugins": "^0.8.0",
Expand Down

0 comments on commit ef50e4d

Please sign in to comment.