Skip to content

Commit 9b23b6f

Browse files
committed
Merge pull request #142 from outrightmental/master
more DRY test:server & test:client in Gruntfile.js
2 parents fa15bdc + cbeba42 commit 9b23b6f

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

Diff for: templates/common/Gruntfile.js

+4-8
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ module.exports = function (grunt) {
548548
]);
549549
}
550550

551-
if (target === 'client') {
551+
else if (target === 'client') {
552552
return grunt.task.run([
553553
'clean:server',
554554
'concurrent:test',
@@ -557,13 +557,9 @@ module.exports = function (grunt) {
557557
]);
558558
}
559559

560-
grunt.task.run([
561-
'env:test',
562-
'mochaTest',
563-
'clean:server',
564-
'concurrent:test',
565-
'autoprefixer',
566-
'karma'
560+
else grunt.task.run([
561+
'test:server',
562+
'test:client'
567563
]);
568564
});
569565

0 commit comments

Comments
 (0)