/tree-in-zig

Simple implementation of the tree command line util in Zig

Primary LanguageZigBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

tree in Zig

Simple implementation of the tree UNIX command line utility in Zig

About this project

This is just a toy project to explore the Zig programming language. This is NOT a good example of how to write good Zig code and it doesn't pretend to be like so.

How to build this project

Make sure to install the Zig compiler. This code was developed using the 0.11.0 version. Once Zig is installed and accessible from your PATH, run

# build the project
$ zig build -Doptimize=ReleaseSafe
# run the executable
$ zig-out/bin/zree <path to your directory>