Sha256: 35e51e0dd3e0de5a74a71e82d36c4f4c58a8aed8dcc3d067e55a7d8d8dd0bed1

Contents?: true

Size: 563 Bytes

Versions: 16

Compression:

Stored size: 563 Bytes

Contents

#!/usr/bin/env node

var buildSuite = require('./buildSuite'),
    exec = require('child_process').exec,
    phantomJSBin = './node_modules/mocha-phantomjs/bin/mocha-phantomjs';

function runSpecs() {
  var suitePath = buildSuite();
  exec(phantomJSBin + ' ' + suitePath, function (error, stdout, stderr) {
    logIfAnything(stdout);
    logIfAnything(stderr);
    if (error !== null) {
      console.error('Error running specs: ' + error);
    }
  });
}

function logIfAnything(output) {
  if (('' + output) !== "") {
    console.log(output);
  }
}

runSpecs();

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
dune-dashboard-1.1.5 vendor/assets/components/ember-i18n/script/run.js
dune-dashboard-1.1.4 vendor/assets/components/ember-i18n/script/run.js
dune-dashboard-1.1.3 vendor/assets/components/ember-i18n/script/run.js
dune-dashboard-1.1.2 vendor/assets/components/ember-i18n/script/run.js
dune-dashboard-1.1.1 vendor/assets/components/ember-i18n/script/run.js
dune-dashboard-1.1.0 vendor/assets/components/ember-i18n/script/run.js
dune-dashboard-1.0.9 vendor/assets/components/ember-i18n/script/run.js
dune-dashboard-1.0.8 vendor/assets/components/ember-i18n/script/run.js
dune-dashboard-1.0.7 vendor/assets/components/ember-i18n/script/run.js
dune-dashboard-1.0.6 vendor/assets/components/ember-i18n/script/run.js
dune-dashboard-1.0.5 vendor/assets/components/ember-i18n/script/run.js
dune-dashboard-1.0.4 vendor/assets/components/ember-i18n/script/run.js
dune-dashboard-1.0.3 vendor/assets/components/ember-i18n/script/run.js
dune-dashboard-1.0.2 vendor/assets/components/ember-i18n/script/run.js
dune-dashboard-1.0.1 vendor/assets/components/ember-i18n/script/run.js
dune-dashboard-1.0.0 vendor/assets/components/ember-i18n/script/run.js