Create one unique generic Makefile to compile sass files.master
parent
65d92dadf4
commit
388732dfa6
@ -0,0 +1,9 @@ |
||||
# NOTE: please keep your version of sass up to date: sudo gem update
|
||||
.PHONY: watch css |
||||
SASS_FILES=$(wildcard addons/*/static/src/css/*.sass openerp/addons/*/static/src/css/*.sass)
|
||||
CSS_FILES=$(patsubst %.sass,%.css,${SASS_FILES})
|
||||
css: ${CSS_FILES} |
||||
%.css: %.sass |
||||
sass -t expanded --compass --unix-newlines --sourcemap=none $< $@
|
||||
watch: |
||||
sass -t expanded --compass --unix-newlines --sourcemap=none --watch .:.
|
@ -1,3 +0,0 @@ |
||||
analytic.css: analytic.sass |
||||
sass -t expanded analytic.sass analytic.css
|
||||
|
@ -1,3 +0,0 @@ |
||||
dashboard.css: dashboard.sass |
||||
sass --trace -t expanded dashboard.sass dashboard.css
|
||||
|
@ -1,3 +0,0 @@ |
||||
timesheet.css: timesheet.sass |
||||
sass -t expanded timesheet.sass timesheet.css
|
||||
|
@ -1,3 +0,0 @@ |
||||
lunch.css: lunch.sass |
||||
sass -t expanded lunch.sass lunch.css
|
||||
|
@ -1,3 +0,0 @@ |
||||
note.css: note.sass |
||||
sass --trace -t expanded note.sass note.css
|
||||
|
@ -1,3 +0,0 @@ |
||||
base.css: base.sass |
||||
sass --trace -t expanded base.sass base.css
|
||||
|
@ -1,3 +0,0 @@ |
||||
kanban.css: kanban.sass |
||||
sass -t expanded kanban.sass kanban.css
|
||||
|
Loading…
Reference in new issue