From 7602a90e6477570b2afd18d93ba506acfbd07054 Mon Sep 17 00:00:00 2001 From: Yohan Lasorsa Date: Wed, 9 Mar 2016 23:11:08 +0100 Subject: [PATCH] Task cleanup, gitignore fix, added missing tsd doc --- .gitignore | 2 +- docs/tasks.md | 3 ++- gulp/build.js | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 4ec71d4..05198e5 100755 --- a/.gitignore +++ b/.gitignore @@ -7,7 +7,7 @@ node_modules/ /dist/ .sass-cache .idea/ -.npm-debug.log +npm-debug.log ## Karma /reports/ diff --git a/docs/tasks.md b/docs/tasks.md index d48b1c2..b6f2f14 100755 --- a/docs/tasks.md +++ b/docs/tasks.md @@ -42,7 +42,8 @@ translations:extract | Extract Messages from Code and Templates to template.pot. Task | Description ------------|--------------------------------------------------------------------------------------------------------- typescript | Convert all *.ts found in project to js in the temporary folder. -tsd | Download all TypeScript definitions for Bower dependencies. +tsd | Download and update all TypeScript definitions for Bower dependencies. +tsd:restore | Download TypeScript definitions according to tsd.json tsd:clean | Delete downloaded TypeScript definitions. ## HTML / Jade diff --git a/gulp/build.js b/gulp/build.js index 2b3162d..3fc84a0 100755 --- a/gulp/build.js +++ b/gulp/build.js @@ -79,5 +79,5 @@ gulp.task('other', ['fonts'], function() { gulp.task('build', ['build:sources', 'other', 'images']); gulp.task('clean', ['images:clean-cache'], function() { - return $.del([path.join(conf.paths.dist, '/'), path.join(conf.paths.tmp, '/')]); + return $.del([conf.paths.dist, conf.paths.tmp]); });