diff options
author | Alex Legler <alex@a3li.li> | 2015-01-05 20:52:25 +0100 |
---|---|---|
committer | Alex Legler <alex@a3li.li> | 2015-01-05 20:52:25 +0100 |
commit | dde4d488ff04891150e279d52f95b1d87ded0c58 (patch) | |
tree | cef24d2c417c553d757fd5ebf6c6a5fa1115a6fd /sources | |
parent | Rename CSS portion to gentoo-tyrian-css, adapt Grunt functionality (diff) | |
download | tyrian-theme-dde4d488ff04891150e279d52f95b1d87ded0c58.tar.gz tyrian-theme-dde4d488ff04891150e279d52f95b1d87ded0c58.tar.bz2 tyrian-theme-dde4d488ff04891150e279d52f95b1d87ded0c58.zip |
Clean up Grunt tasks
Diffstat (limited to 'sources')
-rw-r--r-- | sources/css/tyrian/Gruntfile.js | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/sources/css/tyrian/Gruntfile.js b/sources/css/tyrian/Gruntfile.js index d48c6e9..486e614 100644 --- a/sources/css/tyrian/Gruntfile.js +++ b/sources/css/tyrian/Gruntfile.js @@ -65,20 +65,11 @@ module.exports = function(grunt) { grunt.loadNpmTasks("grunt-sed"); grunt.loadNpmTasks("grunt-shell"); - // Compiles tryrian sources grunt.registerTask("compile", ["less:compile", "replace:compile"]); - - // Compresses tyrian sources grunt.registerTask("compress", ["less:minify"]); + grunt.registerTask("bootstrap", ["sed:inject_variables", "shell:build_bootstrap"]); - // Updates bootstrap, injects our custom variables, and builds bootstrap - grunt.registerTask("bootstrap", [ "sed:inject_variables", "shell:build_bootstrap"]); - - // by default: compile and compress - grunt.registerTask("dist", ["compile", "compress"]); - - grunt.registerTask("default", ["compile"]); - - grunt.registerTask("all", ["bootstrap", "compile", "compress"]); + grunt.registerTask("dist", ["bootstrap", "compile", "compress"]); + grunt.registerTask("default", ["dist"]); }; |