Skip to content

Commit d95c5fe

Browse files
Merge pull request #3 from NativeScript/vladimirov/grunt-prepare
Add grunt prepare task
2 parents 6c6d900 + a83c830 commit d95c5fe

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ tscommand.tmp.txt
1313
.vscode/
1414
*.ts
1515
*.js.map
16+
definitions

Gruntfile.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ module.exports = function(grunt) {
8686
},
8787

8888
clean: {
89-
src: ["**/*.js*", "!**/*.json", "!postinstall.js", "!preuninstall.ts", "!Gruntfile.js", "!node_modules/**/*", "*.tgz"]
89+
src: ["**/*.js*", "!**/*.json", "!postinstall.js", "!preuninstall.js", "!Gruntfile.js", "!node_modules/**/*", "*.tgz"]
9090
}
9191
});
9292

@@ -95,4 +95,9 @@ module.exports = function(grunt) {
9595
grunt.loadNpmTasks("grunt-ts");
9696

9797
grunt.registerTask("default", "ts:devlib");
98+
grunt.registerTask("prepare", [
99+
"clean",
100+
"ts:release_build",
101+
"shell:build_package",
102+
]);
98103
};

0 commit comments

Comments
 (0)