Skip to content

Commit

Permalink
Some minor Gruntfile changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
pdaniell committed Jan 13, 2015
1 parent 215509c commit dd0c95e
Showing 1 changed file with 19 additions and 11 deletions.
30 changes: 19 additions & 11 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,29 +14,29 @@ module.exports = function(grunt) {

//Utils
'src/utils/ClassUtils.js',
'src/utils/HashTable.js',
'src/utils/HashTable.js',
'src/utils/HashSet.js',
'src/utils/ANSI.js',
'src/utils//StringUtils.js',
'src/utils//StringUtils.js',

// Classes
'src/Alphabet.js',
'src/BaseMachine.js',
'src/Condition.js',
'src/Command.js',
'src/DFA.js',
'src/FST.js',
'src/DPDA.js',
'src/FST.js',
'src/DPDA.js',
'src/TM.js',
'src/Stack.js',
'src/Stack.js',
'src/State.js',
'src/StateTable.js',
'src/Tape.js',
'src/TransitionFunction.js'
];

var testFiles = [ './test/**/*.js' ];
var testSuite = srcFiles.concat(testFiles);
var testFiles = ['./test/**/*.js'];
var testSuite = srcFiles.concat(testFiles);

// Setup the config object
var config = {
Expand Down Expand Up @@ -108,7 +108,15 @@ module.exports = function(grunt) {

// start these browsers
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
browsers: ['Chrome'],
browsers: ['chromeIncognito'],

// you can define custom flags
customLaunchers: {
chromeIncognito: {
base: 'Chrome',
flags: ['--incognito']
}
},


// Continuous Integration mode
Expand All @@ -119,7 +127,7 @@ module.exports = function(grunt) {

dev: {
options: {
files:testSuite,
files: testSuite,
}
},

Expand Down Expand Up @@ -200,4 +208,4 @@ module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-shell');
grunt.loadNpmTasks('grunt-karma');
}
}

0 comments on commit dd0c95e

Please sign in to comment.