X-Git-Url: http://git.inspyration.org/?a=blobdiff_plain;f=Makefile;h=84d916e9a3f32225f3b80f78d1fc65ea38d24e91;hb=667d920d2ff927f3d07578a72f7a2dddb6aca059;hp=39ab146c13a1fcad17220e50f4f8ef015aa13944;hpb=6a05a3c77877d46637ad1eac00886f10a2f14be9;p=odoo%2Fodoo.git diff --git a/Makefile b/Makefile index 39ab146..84d916e 100644 --- a/Makefile +++ b/Makefile @@ -1,43 +1,9 @@ -# -*- makefile -*- - -addons-path := bin/addons/ -root-path := bin/ -port := 8069 -net_port := 8070 -module := base -database := terp -language := fr_FR -i18n-import := bin/addons/base/i18n/fr_FR.po -interrogation_file := bin/addons/quality_integration_server/base_quality_interrogation.py -login := admin -password := admin - -start: - python $(interrogation_file) start-server --root-path=$(root-path) --addons-path=$(addons-path) --port=$(port) - -create-db: - python $(interrogation_file) create-db --database=$(database) --root-path=$(root-path) --addons-path=$(addons-path) --port=$(port) --login=$(login) --password=$(password) - -drop-db: - python $(interrogation_file) drop-db --database=$(database) --root-path=$(root-path) --addons-path=$(addons-path) --port=$(port) - -install-module: - python $(interrogation_file) install-module --modules=$(module) --database=$(database) --root-path=$(root-path) --addons-path=$(addons-path) --port=$(port) --login=$(login) --password=$(password) - -upgrade-module: - python $(interrogation_file) upgrade-module --modules=$(module) --database=$(database) --root-path=$(root-path) --addons-path=$(addons-path) --port=$(port) --login=$(login) --password=$(password) - - -install-translation: - python $(interrogation_file) install-translation --database=$(database) --translate-in=$(i18n-import) --port=$(port) --login=$(login) --password=$(password) --root-path=$(root-path) --addons-path=$(addons-path) - - -version: - python bin/openerp-server.py --version - -check-quality: - python $(interrogation_file) check-quality --database=$(database) --modules=$(module) --port=$(port) --login=$(login) --password=$(password) --addons-path=$(addons-path) --root-path=$(root-path) - - - - +# 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 .:.