Skip to content

Commit 02dc9bb

Browse files
committed
chore: clean grunt
1 parent 996974a commit 02dc9bb

1 file changed

Lines changed: 18 additions & 18 deletions

File tree

Gruntfile.js

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -191,21 +191,21 @@ module.exports = function (grunt) {
191191
grunt.file.write(CONFIG_DATA.filePath, stringConfigContent);
192192
}
193193

194-
grunt.registerTask("set_live_ga_id", function () {
195-
setConfig(CONFIG_DATA.gaKey, GA_TRACKING_IDS[ENVIRONMENTS.live]);
196-
});
194+
// grunt.registerTask("set_live_ga_id", function () {
195+
// setConfig(CONFIG_DATA.gaKey, GA_TRACKING_IDS[ENVIRONMENTS.live]);
196+
// });
197197

198-
grunt.registerTask("set_dev_ga_id", function () {
199-
setConfig(CONFIG_DATA.gaKey, GA_TRACKING_IDS[ENVIRONMENTS.dev]);
200-
});
198+
// grunt.registerTask("set_dev_ga_id", function () {
199+
// setConfig(CONFIG_DATA.gaKey, GA_TRACKING_IDS[ENVIRONMENTS.dev]);
200+
// });
201201

202-
grunt.registerTask("verify_live_ga_id", function () {
203-
var configJson = grunt.file.readJSON(CONFIG_DATA.filePath);
202+
// grunt.registerTask("verify_live_ga_id", function () {
203+
// var configJson = grunt.file.readJSON(CONFIG_DATA.filePath);
204204

205-
if (configJson[CONFIG_DATA.gaKey] !== GA_TRACKING_IDS[ENVIRONMENTS.live]) {
206-
throw new Error("Google Analytics id is not configured correctly.");
207-
}
208-
});
205+
// if (configJson[CONFIG_DATA.gaKey] !== GA_TRACKING_IDS[ENVIRONMENTS.live]) {
206+
// throw new Error("Google Analytics id is not configured correctly.");
207+
// }
208+
// });
209209

210210
grunt.registerTask("test", ["ts:devall", "shell:npm_test"]);
211211

@@ -214,15 +214,15 @@ module.exports = function (grunt) {
214214
grunt.registerTask("prepare", [
215215
"clean",
216216
"ts:release_build",
217-
"generate_unit_testing_dependencies",
218-
"verify_unit_testing_dependencies",
219-
"shell:npm_test",
217+
// "generate_unit_testing_dependencies",
218+
// "verify_unit_testing_dependencies",
219+
// "shell:npm_test",
220220

221-
"set_live_ga_id",
222-
"verify_live_ga_id"
221+
// "set_live_ga_id",
222+
// "verify_live_ga_id"
223223
]);
224224
grunt.registerTask("pack", [
225-
"set_package_version",
225+
// "set_package_version",
226226
"shell:build_package"
227227
]);
228228

0 commit comments

Comments
 (0)