aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Legler <alex@a3li.li>2015-01-05 20:52:25 +0100
committerAlex Legler <alex@a3li.li>2015-01-05 20:52:25 +0100
commitdde4d488ff04891150e279d52f95b1d87ded0c58 (patch)
treecef24d2c417c553d757fd5ebf6c6a5fa1115a6fd
parentRename CSS portion to gentoo-tyrian-css, adapt Grunt functionality (diff)
downloadtyrian-theme-dde4d488ff04891150e279d52f95b1d87ded0c58.tar.gz
tyrian-theme-dde4d488ff04891150e279d52f95b1d87ded0c58.tar.bz2
tyrian-theme-dde4d488ff04891150e279d52f95b1d87ded0c58.zip
Clean up Grunt tasks
-rw-r--r--sources/css/tyrian/Gruntfile.js15
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"]);
};