Skip to content

Commit a4f13e0

Browse files
authored
Merge pull request #263 from sir-gon/develop
[CONFIG] [Github Actions] Rust coverage. Another way to install llvm-…
2 parents 825c619 + 5a447f9 commit a4f13e0

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

Makefile

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,15 @@ RUNTIME_TOOL=dotnet
3333
PACKAGE_TOOL=dotnet
3434
VERBOSITY_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+
3645
help: 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
146155
compose/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

151163
run:
152164
ls -alh

0 commit comments

Comments
 (0)