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 ee35494 commit c8a3576Copy full SHA for c8a3576
1 file changed
Makefile
@@ -34,6 +34,14 @@ FILES := $(shell find $(SRC_DIR) -name '*.cpp' -o -name '*.c' -o -name '*.h' -o
34
.PHONY: all clean dependencies help list test outdated
35
.EXPORT_ALL_VARIABLES: # (2)
36
37
+define crono
38
+ @start=$$(date +%s); \
39
+ $(1); \
40
+ end=$$(date +%s); \
41
+ diff=$$((end - start)); \
42
+ printf "Total time: %02d:%02d:%02d\n" $$((diff/3600)) $$((diff%3600/60)) $$((diff%60))
43
+endef
44
+
45
help: list
46
47
list:
@@ -143,7 +151,8 @@ compose/run: compose/build
143
151
144
152
compose/all: compose/rebuild compose/test compose/lint
145
153
146
-all: env dependencies test lint
154
+all:
155
+ $(call crono, make clean; make dependencies; make build; make test; make lint; make coverage/html)
147
156
148
157
run:
149
158
ls -alh
0 commit comments