started adding support for downloading latests js libraries using grunt.
This commit is contained in:
parent
f700ece441
commit
f7ee1e019f
|
@ -21,6 +21,7 @@
|
|||
"grunt-contrib-watch": "*",
|
||||
"grunt-contrib-less": "*",
|
||||
"grunt-contrib-concat": "*",
|
||||
"grunt-contrib-copy": "*"
|
||||
"grunt-contrib-copy": "*",
|
||||
"grunt-curl": "*"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,22 @@
|
|||
module.exports = function(grunt) {
|
||||
|
||||
// Project configuration.
|
||||
grunt.initConfig({
|
||||
pkg: grunt.file.readJSON('package.json'),
|
||||
curl: {
|
||||
'NzbDrone.Backbone/JsLibraries/jquery.js': 'http://code.jquery.com/jquery.js',
|
||||
'NzbDrone.Backbone/JsLibraries/backbone.collectionbinder.js': 'https://raw.github.com/theironcook/Backbone.ModelBinder/master/Backbone.CollectionBinder.js',
|
||||
'NzbDrone.Backbone/JsLibraries/backbone.modelbinder.js': 'https://raw.github.com/theironcook/Backbone.ModelBinder/master/Backbone.ModelBinder.js',
|
||||
'NzbDrone.Backbone/JsLibraries/backbone.js': 'https://raw.github.com/documentcloud/backbone/master/backbone.js',
|
||||
'NzbDrone.Backbone/JsLibraries/backbone.marionette.js': 'https://raw.github.com/marionettejs/backbone.marionette/master/lib/backbone.marionette.js',
|
||||
'NzbDrone.Backbone/JsLibraries/backbone.mutators.js': 'https://raw.github.com/asciidisco/Backbone.Mutators/master/backbone.mutators.js',
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
grunt.loadNpmTasks('grunt-curl');
|
||||
|
||||
// Default task(s).
|
||||
grunt.registerTask('default', ['curl']);
|
||||
|
||||
};
|
Loading…
Reference in New Issue