From da8c11912007e8d3612bd51d28f8d1a22346df88 Mon Sep 17 00:00:00 2001 From: Meghan Date: Tue, 15 Dec 2020 02:33:31 -0800 Subject: [PATCH] closes #2 --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index f1face6b0a1c758cbfc025048cf4fa16d8df45ce..a0f1ab35466996fc923fd5911858a87d87216c5f 100644 --- a/README.md +++ b/README.md @@ -91,6 +91,23 @@ pub fn build(b: *Builder) void { exe.install(); ``` +### Example +```yml +id: t5ch3nfmdaa25ndlch7ucz7yztq8n1iaanv2d7iwiw4q5n65 +name: my_app +main: src/main.zig +dependencies: +- type: git + path: https://github.com/Hejsil/zig-clap +- type: git + path: https://github.com/alexnask/ctregex.zig + # ctregex.zig doesn't have a zig.mod file so we can manually + # define its entry point. this can also be used generally to + # override any attribute we want in this dependency. + name: ctregex + main: ctregex.zig +``` + ### `zig.mod` Reference | Name | Type | Note | Description | |------|------|------|-------------| -- 2.54.0