diff --git a/README.md b/README.md index 4e9d325..0cb4e7f 100644 --- a/README.md +++ b/README.md @@ -62,6 +62,11 @@ fn run_server() !void { } ``` +### How to use with the package manager +See the `standalone` example in the `examples` folder. +* [`build.zig.zon`](./examples/standalone/build.zig.zon) +* [`build.zig`](./examples/standalone/build.zig) + ## Printing help See [`simple.zig`](./example/simple.zig) diff --git a/examples/standalone/build.zig.zon b/examples/standalone/build.zig.zon index 7518790..d617ddb 100644 --- a/examples/standalone/build.zig.zon +++ b/examples/standalone/build.zig.zon @@ -4,6 +4,7 @@ .paths = .{"./src"}, .dependencies = .{ .@"zig-cli" = .{ + // URL pattern: https://github.com/sam701/zig-cli/archive/.tar.gz .url = "https://github.com/sam701/zig-cli/archive/e32f7454d690761ec2b4eab8600e0610d0d233bd.tar.gz", .hash = "1220bf895404724653daf8e0e054e6c943b8dc13c312c3d32d9e0eaa4448f261fd98", },