summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2017-03-27 03:13:47 +0200
committerJonas Smedegaard <dr@jones.dk>2017-03-27 03:13:47 +0200
commit2a630434548c040d9d621b077291e126f00fd68e (patch)
tree33a22f9edb8088f4c132fa8d76d6303d2f81ce6b
parent3d934d315550b023181a52e69f73326de79001e6 (diff)
Enable sourcemaps. Compress by default.
-rw-r--r--Makefile1
-rw-r--r--include.mk2
2 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index fe8a6a5..1f0693a 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,6 @@
cssprojects ?= default blueview actiontabs goldtype goab
#beautify = yes
-#finalize = yes
all: $(cssprojects)
diff --git a/include.mk b/include.mk
index 62f1aa1..9081786 100644
--- a/include.mk
+++ b/include.mk
@@ -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::