Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,15 @@ RUNTIME_TOOL=dotnet
PACKAGE_TOOL=dotnet
VERBOSITY_LEVEL=normal

define crono
@start=$$(date +%s); \
$(1); \
end=$$(date +%s); \
diff=$$((end - start)); \
printf "Total time: %02d:%02d:%02d\n" $$((diff/3600)) $$((diff%3600/60)) $$((diff%60))
endef


help: list
@echo ""
@echo "Note: create and activate the environment in your local shell type (example):"
Expand Down Expand Up @@ -146,7 +155,10 @@ compose/test: compose/build
compose/run: compose/build
${DOCKER_COMPOSE} --profile production run --rm algorithm-exercises-csharp make run

all: lint coverage
all:
$(call crono, make clean; make dependencies; make build; make test; make lint; make coverage/html)

run:

run:
ls -alh
Loading