diff --git a/Gruntfile.js b/Gruntfile.js index 956113503..1870a3134 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -1,4 +1,14 @@ "use strict"; +var fs = require('fs'); +var path = require('path'); +var http = require('http'); +var build = (function(){ + // travis testing + if (process.env && process.env.BUILD) return process.env.BUILD == 'default' ? 'all' : 'nocompat'; + // local testing + else return process.argv[2] == null || process.argv[2] == 'all' ? 'all' : 'nocompat'; +})(); +require('./Tests/httpServer.js')(build); module.exports = function(grunt) {