| ... | ... | @@ -91,6 +91,23 @@ pub fn build(b: *Builder) void { |
| 91 | 91 | exe.install(); |
| 92 | 92 | ``` |
| 93 | 93 | |
| 94 | ### Example |
| 95 | ```yml |
| 96 | id: t5ch3nfmdaa25ndlch7ucz7yztq8n1iaanv2d7iwiw4q5n65 |
| 97 | name: my_app |
| 98 | main: src/main.zig |
| 99 | dependencies: |
| 100 | - type: git |
| 101 | path: https://github.com/Hejsil/zig-clap |
| 102 | - type: git |
| 103 | path: https://github.com/alexnask/ctregex.zig |
| 104 | # ctregex.zig doesn't have a zig.mod file so we can manually |
| 105 | # define its entry point. this can also be used generally to |
| 106 | # override any attribute we want in this dependency. |
| 107 | name: ctregex |
| 108 | main: ctregex.zig |
| 109 | ``` |
| 110 | |
| 94 | 111 | ### `zig.mod` Reference |
| 95 | 112 | | Name | Type | Note | Description | |
| 96 | 113 | |------|------|------|-------------| |