File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,15 @@ RUNTIME_TOOL=dotnet
3333PACKAGE_TOOL =dotnet
3434VERBOSITY_LEVEL =normal
3535
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+
3645help : list
3746 @echo " "
3847 @echo " Note: create and activate the environment in your local shell type (example):"
@@ -146,7 +155,10 @@ compose/test: compose/build
146155compose/run : compose/build
147156 ${DOCKER_COMPOSE} --profile production run --rm algorithm-exercises-csharp make run
148157
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 :
150162
151163run :
152164 ls -alh
You can’t perform that action at this time.
0 commit comments