1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-10-30 07:22:35 +01:00

started adding support for downloading latests js libraries using grunt.

This commit is contained in:
kay.one 2013-03-29 00:22:48 -07:00
parent f700ece441
commit f7ee1e019f
2 changed files with 24 additions and 1 deletions

View File

@ -21,6 +21,7 @@
"grunt-contrib-watch": "*", "grunt-contrib-watch": "*",
"grunt-contrib-less": "*", "grunt-contrib-less": "*",
"grunt-contrib-concat": "*", "grunt-contrib-concat": "*",
"grunt-contrib-copy": "*" "grunt-contrib-copy": "*",
"grunt-curl": "*"
} }
} }

22
update.js Normal file
View File

@ -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']);
};