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:
29
grunt/config/s3.js
Normal file
29
grunt/config/s3.js
Normal 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 %>'
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
};
|
||||
Reference in New Issue
Block a user