aboutsummaryrefslogtreecommitdiff
path: root/functions/zig.sh
diff options
context:
space:
mode:
Diffstat (limited to 'functions/zig.sh')
-rwxr-xr-xfunctions/zig.sh24
1 files changed, 24 insertions, 0 deletions
diff --git a/functions/zig.sh b/functions/zig.sh
new file mode 100755
index 0000000..49b437a
--- /dev/null
+++ b/functions/zig.sh
@@ -0,0 +1,24 @@
+#!/usr/bin/env bash
+zb () {
+ zig build "$@"
+}
+
+zbs() {
+ zig build "$@" --summary all
+}
+
+zt () {
+ zig build test "$@"
+}
+
+zts() {
+ zig build test "$@" --summary all
+}
+
+zr () {
+ zig build run "$@"
+}
+
+zrs() {
+ zig build run "$@" --summary all
+}