diff options
author | Jonas Smedegaard <dr@jones.dk> | 2017-03-27 03:13:47 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2017-03-27 03:13:47 +0200 |
commit | 2a630434548c040d9d621b077291e126f00fd68e (patch) | |
tree | 33a22f9edb8088f4c132fa8d76d6303d2f81ce6b | |
parent | 3d934d315550b023181a52e69f73326de79001e6 (diff) |
Enable sourcemaps. Compress by default.
-rw-r--r-- | Makefile | 1 | ||||
-rw-r--r-- | include.mk | 2 |
2 files changed, 1 insertions, 2 deletions
@@ -1,7 +1,6 @@ cssprojects ?= default blueview actiontabs goldtype goab #beautify = yes -#finalize = yes all: $(cssprojects) @@ -4,7 +4,7 @@ cssprojectinfiles = $(foreach file,$(if $1,$(shell find $1 -name '*.scss')),$(if cssprojectoutfiles = $(patsubst %.scss,%.css,$(call cssprojectinfiles,$1)) $(cssprojects): - compass compile$(if $(wildcard $@/config.rb),, --sass-dir= --css-dir= --images-dir= --javascripts-dir= --fonts-dir= --relative-assets)$(if $(beautify), --output-style expanded) $(if $(finalize),-e production,--debug-info)$(if $(always-make), --force) $@ + compass compile$(if $(wildcard $@/config.rb),, --sass-dir= --css-dir= --images-dir= --javascripts-dir= --fonts-dir= --relative-assets) --output-style $(if $(beautify),expanded,compressed) --sourcemap$(if $(always-make), --force) $@ $(if $(beautify),perl -i -pe 's/ /\t/g' $(call cssprojectoutfiles,$@)) clean:: |