Skip to content

Commit

Permalink
Fixing gruntfile so that it doesn't create specs when running tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ice1080 committed Apr 26, 2018
1 parent 4353bc8 commit b91b390
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,10 @@ module.exports = function(grunt)
grunt.loadNpmTasks('grunt-mocha-istanbul');

grunt.registerTask('default', ['tslint', 'ts:typedoc', 'string-replace:version']);
grunt.registerTask('build_and_test', ['default', 'specs', 'copy', 'mocha_istanbul:coverage']);
grunt.registerTask('specs', ['clean:specsBefore', 'build-specs', 'clean:specsAfter']);
grunt.registerTask('build_and_test', ['default', 'copy', 'mocha_istanbul:coverage']);
grunt.registerTask('specs', ['clean:specsBefore', 'update-specs', 'clean:specsAfter']);

grunt.registerTask('build-specs', function() {
grunt.registerTask('update-specs', function() {
var FS = require('fs-extra');
var Path = require('path');
var TypeDoc = require('./');
Expand Down

0 comments on commit b91b390

Please sign in to comment.