Sha256: b63938bf44a9bd878367ae32cfbb6293ec22117dc35426c0d18077c95f7e70af

Contents?: true

Size: 899 Bytes

Versions: 15

Compression:

Stored size: 899 Bytes

Contents

#!/usr/bin/env node

var lint = require("./lint/lint");

lint.checkDir("mode");
lint.checkDir("lib");
lint.checkDir("addon");
lint.checkDir("keymap");

var ok = lint.success();

var files = new (require('node-static').Server)('.');

var server = require('http').createServer(function (req, res) {
  req.addListener('end', function () {
    files.serve(req, res);
  });
}).addListener('error', function (err) {
  throw err;
}).listen(3000, function () {
  var child_process = require('child_process');
  child_process.exec("which phantomjs", function (err) {
    if (err) {
      console.error("PhantomJS is not installed. Download from http://phantomjs.org");
      process.exit(1);
    }
    var cmd = 'phantomjs test/phantom_driver.js';
    child_process.exec(cmd, function (err, stdout) {
      server.close();
      console.log(stdout);
      process.exit(err || !ok ? 1 : 0);
    });
  });
});

Version data entries

15 entries across 15 versions & 3 rubygems

Version Path
gump-0.1.6 server/assets/js/jquery.codemirror/test/run.js
poly-cms-0.1.2 core/admin/assets/js/vendor/codemirror/test/run.js
poly-cms-0.1.1 core/admin/assets/js/vendor/codemirror/test/run.js
poly-cms-0.1.0 core/admin/assets/js/vendor/codemirror/test/run.js
bonethug-0.0.17 skel/project_types/silverstripe3/public/abc/lib/codemirror/test/run.js
bonethug-0.0.16 skel/project_types/silverstripe3/public/abc/lib/codemirror/test/run.js
bonethug-0.0.15 skel/project_types/silverstripe3/public/abc/lib/codemirror/test/run.js
bonethug-0.0.14 skel/project_types/silverstripe3/public/abc/lib/codemirror/test/run.js
bonethug-0.0.13 skel/project_types/silverstripe3/public/abc/lib/codemirror/test/run.js
bonethug-0.0.12 skel/project_types/silverstripe3/public/abc/lib/codemirror/test/run.js
bonethug-0.0.11 skel/project_types/silverstripe3/public/abc/lib/codemirror/test/run.js
bonethug-0.0.10 skel/project_types/silverstripe3/public/abc/lib/codemirror/test/run.js
bonethug-0.0.7 skel/project_types/silverstripe3/public/abc/lib/codemirror/test/run.js
bonethug-0.0.6 skel/project_types/silverstripe3/public/abc/lib/codemirror/test/run.js
bonethug-0.0.5 skel/project_types/silverstripe3/public/abc/lib/codemirror/test/run.js