Added more unit tests, up to 98% coverage. Fixed the Gruntfile so it's not a cluster-f**k anymore.

This commit is contained in:
Spencer Alger
2013-12-06 18:39:48 -07:00
parent 086636c8a4
commit 270763e0a7
37 changed files with 1361 additions and 433 deletions

29
grunt/config/s3.js Normal file
View File

@ -0,0 +1,29 @@
var config = require('../../.aws-config.json');
module.exports = {
options: {
key: config.key,
secret: config.secret,
bucket: 'download.elasticsearch.org',
access: 'public-read'
},
latest: {
upload: [
{
src: '<%= distDir %>/*.js',
dest: 'elasticsearch/elasticsearch-js/latest'
}
]
},
release: {
upload: [
{
src: '<%= distDir %>/*.js',
dest: 'elasticsearch/elasticsearch-js/<%= package.version %>'
}
]
}
};