You've already forked snikket-web-portal
Always build all CSS files if a single SCSS file changes
We don’t have proper dependency tracking for those in Make, and I don’t care to invest a lot into getting this right, given that the build for all of them finishes in <1s.
This commit is contained in:
2
Makefile
2
Makefile
@@ -12,7 +12,7 @@ all: build_css compile_translations
|
|||||||
|
|
||||||
build_css: $(generated_css_files)
|
build_css: $(generated_css_files)
|
||||||
|
|
||||||
$(generated_css_files): snikket_web/static/css/%.css: snikket_web/scss/%.scss $(scss_includes)
|
$(generated_css_files): snikket_web/static/css/%.css: snikket_web/scss/%.scss $(scss_files) $(scss_includes)
|
||||||
mkdir -p snikket_web/static/css/
|
mkdir -p snikket_web/static/css/
|
||||||
$(SCSSC) -o "$@" "$<"
|
$(SCSSC) -o "$@" "$<"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user