diff --git a/Makefile b/Makefile index 93352e4b7..ad825a05e 100644 --- a/Makefile +++ b/Makefile @@ -178,7 +178,7 @@ serve-backend: # TODO: maybe deprecated .PHONY: database -database: .stack .stack-work.lock compile-backend-prod +database: .stack compile-backend-prod export SERVER_SESSION_ACID_FALLBACK=$${SERVER_SESSION_ACID_FALLBACK:-true} export AVSPASS=$${AVSPASS:-nopasswordset} stack exec uniworxdb -- $(db) @@ -192,15 +192,17 @@ database-%: @echo "This target, intended to fill, clear, migrate, ... the database using uniworxdb from inside the backend container is yet to be implemented" exit 1 -.PHONY: .stack +# .PHONY: .stack .stack: stack.yaml stack.yaml.lock .stack: $(MAKE) -- --image-run---.stack +.PHONY: --.stack --.stack: stack.yaml stack.yaml.lock stack build --fast --only-dependencies $(stackopts) -.stack-work.lock: - [ "${FLOCKER}" != "$0" ] && exec env FLOCKER="$0" flock -en .stack-work.lock "$0" "$@" || : +# TODO: deprecated, remove +# .stack-work.lock: +# [ "${FLOCKER}" != "$0" ] && exec env FLOCKER="$0" flock -en .stack-work.lock "$0" "$@" || : ##### BACKEND TARGETS ##### ###########################