aboutsummaryrefslogtreecommitdiff
path: root/test/formatters/installers/zig-fmt.bash
diff options
context:
space:
mode:
authorhgranthorner <37941012+hgranthorner@users.noreply.github.com>2024-10-17 19:29:37 -0400
committerGitHub <noreply@github.com>2024-10-17 23:29:37 +0000
commit568ad0154d4ff07bdded17b404fb6b2086afd235 (patch)
tree084a6004e8ca32a6e024c60e7aee3ed7867d0a31 /test/formatters/installers/zig-fmt.bash
parentd6f520752a77923a420f2ef894a6f2d26d29d7d0 (diff)
Add zig fmt support (#327)
Add support for the zig programming language using `zig fmt` for `zig-mode` and `zig-ts-mode`. --------- Co-authored-by: Radon Rosborough <radon@intuitiveexplanations.com>
Diffstat (limited to 'test/formatters/installers/zig-fmt.bash')
-rw-r--r--test/formatters/installers/zig-fmt.bash4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/formatters/installers/zig-fmt.bash b/test/formatters/installers/zig-fmt.bash
new file mode 100644
index 0000000..bcf123d
--- /dev/null
+++ b/test/formatters/installers/zig-fmt.bash
@@ -0,0 +1,4 @@
+# https://github.com/ziglang/zig/wiki/Install-Zig-from-a-Package-Manager#ubuntu-snap
+wget "https://ziglang.org/download/0.13.0/zig-linux-x86_64-0.13.0.tar.xz" -O zig.tar.xz
+tar -xf zig.tar.xz
+cp -r zig-linux-x86_64-0.13.0/* /usr/local/bin/ \ No newline at end of file