build(Makefile): remove deprecated stackopts

This commit is contained in:
Sarah Vaupel 2024-10-29 14:56:50 +01:00
parent 1510116083
commit 06f48fe408

View File

@ -181,15 +181,15 @@ well-known: static;
# HELP(compile-backend): compile backend
--compile-backend:
stack build --fast --profile --library-profiling --executable-profiling --flag uniworx:-library-only --local-bin-path $$(pwd)/bin $(stackopts)
stack build --fast --profile --library-profiling --executable-profiling --flag uniworx:-library-only --local-bin-path $$(pwd)/bin
# HELP(lint-backend): lint backend
--lint-backend:
stack build --test --fast --work-dir=.stack-work-test --flag uniworx:library-only uniworx:test:hlint $(stackopts)
stack build --test --fast --work-dir=.stack-work-test --flag uniworx:library-only uniworx:test:hlint
# HELP(test-backend): test backend
--test-backend:
stack build --test --coverage --fast --work-dir=.stack-work-test --flag uniworx:library-only $(stackopts)
stack build --test --coverage --fast --work-dir=.stack-work-test --flag uniworx:library-only
# TODO: better name
.PHONY: db
@ -211,7 +211,7 @@ db: compile-frontend --image-build --containerized---db;
$(MAKE) -- --image-run---.stack ; \
fi
--.stack: stack.yaml stack.yaml.lock package.yaml
stack build --fast --only-dependencies $(stackopts)
stack build --fast --only-dependencies
##### BACKEND TARGETS #####
###########################