mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-19 21:46:50 -04:00
grunt cleanup.
This commit is contained in:
@@ -139,3 +139,4 @@ NzbDrone.Web/*
|
|||||||
siaqodb.lic
|
siaqodb.lic
|
||||||
node_modules/
|
node_modules/
|
||||||
NzbDrone.Backbone/templates.js
|
NzbDrone.Backbone/templates.js
|
||||||
|
NzbDrone.Backbone/Content/bootstrap.css
|
||||||
|
|||||||
+5
-6
@@ -9,14 +9,13 @@ module.exports = function(grunt) {
|
|||||||
cwd: 'NzbDrone.Backbone/', // Src matches are relative to this path.
|
cwd: 'NzbDrone.Backbone/', // Src matches are relative to this path.
|
||||||
src: ['**/*.js'], // Actual pattern(s) to match.
|
src: ['**/*.js'], // Actual pattern(s) to match.
|
||||||
dest: 'build/', // Destination path prefix.
|
dest: 'build/', // Destination path prefix.
|
||||||
ext: '.min.js' // Dest filepaths will have this extension.
|
ext: '.min.js'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
less:{
|
less:{
|
||||||
bootstrap:{
|
bootstrap:{
|
||||||
files: {
|
src: ["NzbDrone.Backbone/Content/Bootstrap/bootstrap.less"],
|
||||||
"NzbDrone.Backbone/Content/bootstrap.css": "NzbDrone.Backbone/Content/Bootstrap/bootstrap.less"
|
dest: "NzbDrone.Backbone/Content/bootstrap.css"
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -38,7 +37,7 @@ module.exports = function(grunt) {
|
|||||||
|
|
||||||
watch:{
|
watch:{
|
||||||
bootstrap:{
|
bootstrap:{
|
||||||
files: 'NzbDrone.Backbone/Content/Bootstrap/*.less',
|
files: '<%= less.bootstrap.src %>',
|
||||||
tasks: ['less:bootstrap']
|
tasks: ['less:bootstrap']
|
||||||
},
|
},
|
||||||
handlebars:{
|
handlebars:{
|
||||||
@@ -57,6 +56,6 @@ module.exports = function(grunt) {
|
|||||||
grunt.loadNpmTasks('grunt-contrib-concat');
|
grunt.loadNpmTasks('grunt-contrib-concat');
|
||||||
|
|
||||||
// Default task(s).
|
// Default task(s).
|
||||||
grunt.registerTask('default', ['watch']);
|
grunt.registerTask('default', ['less:bootstrap','handlebars', 'watch']);
|
||||||
|
|
||||||
};
|
};
|
||||||
+3
-3
@@ -18,8 +18,8 @@
|
|||||||
"grunt": "*",
|
"grunt": "*",
|
||||||
"grunt-contrib-uglify": "*",
|
"grunt-contrib-uglify": "*",
|
||||||
"grunt-contrib-handlebars": "*",
|
"grunt-contrib-handlebars": "*",
|
||||||
"grunt-contrib-watch": "~0.3.1",
|
"grunt-contrib-watch": "*",
|
||||||
"grunt-contrib-less": "~0.5.0",
|
"grunt-contrib-less": "*",
|
||||||
"grunt-contrib-concat": "~0.1.3"
|
"grunt-contrib-concat": "*"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user