We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 825c619 commit 5a447f9Copy full SHA for 5a447f9
1 file changed
Makefile
@@ -33,6 +33,15 @@ RUNTIME_TOOL=dotnet
33
PACKAGE_TOOL=dotnet
34
VERBOSITY_LEVEL=normal
35
36
+define crono
37
+ @start=$$(date +%s); \
38
+ $(1); \
39
+ end=$$(date +%s); \
40
+ diff=$$((end - start)); \
41
+ printf "Total time: %02d:%02d:%02d\n" $$((diff/3600)) $$((diff%3600/60)) $$((diff%60))
42
+endef
43
+
44
45
help: list
46
@echo ""
47
@echo "Note: create and activate the environment in your local shell type (example):"
@@ -146,7 +155,10 @@ compose/test: compose/build
146
155
compose/run: compose/build
147
156
${DOCKER_COMPOSE} --profile production run --rm algorithm-exercises-csharp make run
148
157
149
-all: lint coverage
158
+all:
159
+ $(call crono, make clean; make dependencies; make build; make test; make lint; make coverage/html)
160
161
+run:
150
162
151
163
run:
152
164
ls -alh
0 commit comments