mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-15 19:26:42 +08:00
Add grunt task
This commit is contained in:
16
gruntfile.js
16
gruntfile.js
@ -537,6 +537,22 @@ module.exports = function(grunt) {
|
|||||||
"pack-definitions",
|
"pack-definitions",
|
||||||
"get-ready-packages"
|
"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() {
|
grunt.registerTask("testEnv", function() {
|
||||||
console.log('fafla', process.env.NODE_PATH);
|
console.log('fafla', process.env.NODE_PATH);
|
||||||
|
Reference in New Issue
Block a user