diff --git a/Makefile b/Makefile index e8defbd28..49d9b404d 100644 --- a/Makefile +++ b/Makefile @@ -7,9 +7,8 @@ export CONTAINER_RUN ?= $(CONTAINER_COMMAND) run -dit --network=host export IN_CONTAINER ?= false export IN_CI ?= false -# TODO: deprecated export WATCH -export db ?= -cf +export UNIWORXDB_OPTS ?= -cf export CONTAINER_ID export FRADRIVE_SERVICE @@ -205,10 +204,10 @@ serve-backend: # HELP(db-cf-backend): clear and fill database. requires running postgres # TODO (db-m-$MIGRATION-backend): apply migration (see src/Model/Migration/Definition.hs for list of available migrations) ---db-%-dev-backend: .stack +--db-backend: .stack SERVER_SESSION_ACID_FALLBACK=${SERVER_SESSION_ACID_FALLBACK:-true} ; \ AVSPASS=${AVSPASS:-nopasswordset} ; \ - stack exec uniworxdb -- -$* + stack exec uniworxdb -- $(UNIWORXDB_OPTS) .stack: stack.yaml stack.yaml.lock package.yaml .stack: