Skip to content

Commit

Permalink
add file/http server to grunt file
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioCrisostomo committed Feb 10, 2015
1 parent 8e7fce9 commit 4628a96
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
@@ -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) {

Expand Down

0 comments on commit 4628a96

Please sign in to comment.