#!/usr/bin/env node
var fs = require('fs');

require('babel/register')({
  stage: 0,
  optional: ['runtime']
});

fs.exists('spec/support/jasmine.json', function(configExists) {
  if (!configExists) {
    process.env.JASMINE_CONFIG_PATH =
      process.env.JASMINE_CONFIG_PATH ||
      require.resolve('jasmine-es6/config/jasmine.json');
  }
  require('jasmine/bin/jasmine');
});

var fs = require('fs');

require('babel/register')({
  stage: 0,
  optional: ['runtime']
});

fs.exists('spec/support/jasmine.json', function(configExists) {
  if (!configExists) {
    process.env.JASMINE_CONFIG_PATH =
      process.env.JASMINE_CONFIG_PATH ||
      require.resolve('jasmine-es6/config/jasmine.json');
  }
  require('jasmine/bin/jasmine');
});

Remove shebang because dist-es6 takes care of it
Remove shebang because dist-es6 takes care of it
