build(Makefile): make uniworxdb a compile- target instead of start-

This commit is contained in:
Sarah Vaupel 2024-11-08 02:30:30 +01:00
parent 02877e89b5
commit b5e7b970e3

View File

@ -274,9 +274,9 @@ static: node_modules assets esbuild.config.mjs
npm run build
well-known: static;
# HELP(uniworxdb): clear and fill database. requires running postgres
# HELP(compile-uniworxdb): 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)
--start-uniworxdb: --compile-backend
--compile-uniworxdb: --compile-backend
SERVER_SESSION_ACID_FALLBACK=${SERVER_SESSION_ACID_FALLBACK:-true} ; \
AVSPASS=${AVSPASS:-nopasswordset} ; \
stack $(--DEVELOPMENT) exec uniworxdb -- $(UNIWORXDB_OPTS)