From 2a630434548c040d9d621b077291e126f00fd68e Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Mon, 27 Mar 2017 03:13:47 +0200 Subject: Enable sourcemaps. Compress by default. --- Makefile | 1 - include.mk | 2 +- 2 files changed, 1 insertion(+), 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:: -- cgit v1.2.3