File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -23,19 +23,29 @@ SASSFLAGS = --style=compressed --no-cache --sourcemap=none
2323AUTOPREFIXER_BROWSER_SUPPORT := "> 1%, last 2 versions, Firefox ESR, Opera 12.1"
2424STATIC = ../../static
2525
26- styles :
26+ pre :
2727 @if [ " $( SASS) " = " " ]; then echo " Command 'sass' not found, required when building styles" ; exit 1; fi
28- @if [ " $( AUTOPREFIXER) " = " " ]; then echo " Command 'autoprefixer' not found, required when building styles" ; exit 1; fi
2928 @if [ " $( NODEJS_SUPPORT_STYLES) " = " no" ]; then echo " Your version of node.js does not support building styles" ; exit 1; fi
3029 @if [ " $( SASS_SUPPORT_STYLES) " = " no" ]; then echo " Your version of sass does not support building styles" ; exit 1; fi
3130 $(MKDIR_P ) $(STATIC ) /css
31+
32+ styles : bootstrap.min.css font-awesome.min.css csp.min.css main.min.css
33+
34+ main.min.css : pre
35+ @if [ " $( AUTOPREFIXER) " = " " ]; then echo " Command 'autoprefixer' not found, required when building main.css styles" ; exit 1; fi
3236 $(SASS ) --compass --scss $(SASSFLAGS ) \
3337 $(CURDIR ) /main.scss:$(STATIC ) /css/main.min.css
3438 $(AUTOPREFIXER ) --browsers $(AUTOPREFIXER_BROWSER_SUPPORT ) $(STATIC ) /css/main.min.css
39+
40+ bootstrap.min.css : pre
3541 $(SASS ) --compass --scss $(SASSFLAGS ) \
3642 $(CURDIR ) /bootstrap.scss:$(STATIC ) /css/bootstrap.min.css
43+
44+ font-awesome.min.css : pre
3745 $(SASS ) --compass --scss $(SASSFLAGS ) \
3846 $(CURDIR ) /font-awesome.scss:$(STATIC ) /css/font-awesome.min.css
47+
48+ csp.min.css : pre
3949 $(SASS ) --compass --scss $(SASSFLAGS ) \
4050 $(CURDIR ) /csp.scss:$(STATIC ) /css/csp.min.css
4151
You can’t perform that action at this time.
0 commit comments