-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
37 lines (30 loc) · 1.4 KB
/
Copy pathMakefile
File metadata and controls
37 lines (30 loc) · 1.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
usage:
ps -p $(pgrep -d',' basic) -o %cpu,%mem
trace:
strace -c zig build basic > /dev/null
top:
top -pid $(pgrep -d',' basic)
clean:
rm -rf .zig-cache zig-out zig-pkg
rm -rf examples/zero-auth/.zig-cache examples/zero-auth/zig-out
rm -rf examples/zero-basic/.zig-cache examples/zero-basic/zig-out
rm -rf examples/zero-cronz/.zig-cache examples/zero-cronz/zig-out
rm -rf examples/zero-migration/.zig-cache examples/zero-migration/zig-out
rm -rf examples/zero-mqtt-publisher/.zig-cache examples/zero-mqtt-publisher/zig-out
rm -rf examples/zero-mqtt-subscriber/.zig-cache examples/zero-mqtt-subscriber/zig-out
rm -rf examples/zero-redis/.zig-cache examples/zero-redis/zig-out
rm -rf examples/zero-service-client/.zig-cache examples/zero-service-client/zig-out
rm -rf examples/zero-stream/.zig-cache examples/zero-stream/zig-out
rm -rf examples/zero-todo-htmx/.zig-cache examples/zero-todo-htmx/zig-out
rm -rf examples/zero-websocket/.zig-cache examples/zero-websocket/zig-out
rm -rf examples/zero-kafka-publisher/.zig-cache examples/zero-kafka-publisher/zig-out
rm -rf examples/zero-kafka-subscriber/.zig-cache examples/zero-kafka-subscriber/zig-out
rm -rf examples/zero-sqlite/.zig-cache examples/zero-sqlite/zig-out
release:
zig build --release=fast
release-prod:
zig build --release=small --summary all
ut:
zig build test -Dcoverage --summary all
log:
git log --pretty=format:"%h%x09%an%x09%ad%x09%s"