stopped using an empty suffix for test/branch stuff, so that things are less confusing down the road when versions change
This commit is contained in:
@ -1,5 +1,7 @@
|
||||
var root = require('find-root')(__dirname);
|
||||
var utils = require(root + '/grunt/utils');
|
||||
var rootReq = function (p) { return require(require('path').resolve(root, p)); };
|
||||
var utils = rootReq('grunt/utils');
|
||||
var _ = rootReq('src/lib/utils');
|
||||
|
||||
var config = {
|
||||
unit: {
|
||||
@ -29,7 +31,7 @@ var config = {
|
||||
|
||||
utils.branches.forEach(function (branch) {
|
||||
config['integration_' + branch] = {
|
||||
src: 'test/integration/yaml_suite/index' + utils.branchSuffix(branch) + '.js'
|
||||
src: 'test/integration/yaml_suite/index' + _.snakeCase(branch) + '.js'
|
||||
};
|
||||
});
|
||||
|
||||
|
||||
@ -31,7 +31,7 @@ var config = {
|
||||
},
|
||||
clone_bower_repo: {
|
||||
exec: [
|
||||
'test -d src/elasticsearch',
|
||||
'test -d src/bower_es_js',
|
||||
'git clone git@github.com:elasticsearch/bower-elasticsearch-js.git src/bower_es_js'
|
||||
].join(' || '),
|
||||
options: {
|
||||
|
||||
Reference in New Issue
Block a user