Skip to content

Commit 4628a96

Browse files
add file/http server to grunt file
1 parent 8e7fce9 commit 4628a96

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Gruntfile.js

+10
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,14 @@
11
"use strict";
2+
var fs = require('fs');
3+
var path = require('path');
4+
var http = require('http');
5+
var build = (function(){
6+
// travis testing
7+
if (process.env && process.env.BUILD) return process.env.BUILD == 'default' ? 'all' : 'nocompat';
8+
// local testing
9+
else return process.argv[2] == null || process.argv[2] == 'all' ? 'all' : 'nocompat';
10+
})();
11+
require('./Tests/httpServer.js')(build);
212

313
module.exports = function(grunt) {
414

0 commit comments

Comments
 (0)