From bc3ad393ea9e5cc787eefe40c4144c48391f1a7b Mon Sep 17 00:00:00 2001 From: Dimitar Topuzov Date: Fri, 9 Oct 2015 17:29:07 +0300 Subject: [PATCH] Add grunt task --- gruntfile.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/gruntfile.js b/gruntfile.js index c0e2773ed..69b261ef0 100644 --- a/gruntfile.js +++ b/gruntfile.js @@ -537,6 +537,22 @@ module.exports = function(grunt) { "pack-definitions", "get-ready-packages" ])); + + grunt.registerTask("just-build", ((typeof(grunt.option('runtslint')) != "undefined" && !grunt.option('runtslint')) ? [] : ["tslint:build"]).concat([ + "clean:build", + "shell:getGitSHA", + + "collect-apps-raw-files", + "collect-definitions-raw-files", + "collect-modules-raw-files", + + "compile-ts", + "distribute-apps-files", + "distribute-ts-apps-files", + "distribute-definition-files", + + "pack-modules" + ])); grunt.registerTask("testEnv", function() { console.log('fafla', process.env.NODE_PATH);