Skip to content
This repository was archived by the owner on Feb 2, 2021. It is now read-only.

Commit ed96903

Browse files
committed
Merge pull request #576 from telerik/kerezov/grunt-all
Add $ grunt all task
2 parents 1f9e6ab + 8dcdcb9 commit ed96903

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Gruntfile.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ function getBuildVersion(version) {
1616
if (process.env["BUILD_CAUSE_GHPRBCAUSE"]) {
1717
buildVersion = "PR" + buildVersion;
1818
}
19-
19+
2020
return buildVersion;
2121
}
2222

@@ -140,7 +140,7 @@ module.exports = function(grunt) {
140140
packageJson.buildVersion = buildVersion;
141141
grunt.file.write("package.json", JSON.stringify(packageJson, null, " "));
142142
});
143-
143+
144144
grunt.registerTask("setPackageName", function (version) {
145145
var fs = require("fs");
146146
var fileExtension = ".tgz";
@@ -182,4 +182,5 @@ module.exports = function(grunt) {
182182
]);
183183
grunt.registerTask("lint", ["tslint:build"]);
184184
grunt.registerTask("default", "ts:devlib");
185+
grunt.registerTask("all", ["clean", "test", "lint"]);
185186
};

0 commit comments

Comments
 (0)