| ... | @@ -98,10 +98,8 @@ id: t5ch3nfmdaa25ndlch7ucz7yztq8n1iaanv2d7iwiw4q5n65 | ... | @@ -98,10 +98,8 @@ id: t5ch3nfmdaa25ndlch7ucz7yztq8n1iaanv2d7iwiw4q5n65 |
| 98 | name: my_app | 98 | name: my_app |
| 99 | main: src/main.zig | 99 | main: src/main.zig |
| 100 | dependencies: | 100 | dependencies: |
| 101 | - type: git | 101 | - src: git https://github.com/Hejsil/zig-clap |
| 102 | path: https://github.com/Hejsil/zig-clap | 102 | - src: git https://github.com/alexnask/ctregex.zig |
| 103 | - type: git | | |
| 104 | path: https://github.com/alexnask/ctregex.zig | | |
| 105 | # ctregex.zig doesn't have a zig.mod file so we can manually | 103 | # ctregex.zig doesn't have a zig.mod file so we can manually |
| 106 | # define its entry point. this can also be used generally to | 104 | # define its entry point. this can also be used generally to |
| 107 | # override any attribute we want in this dependency. | 105 | # override any attribute we want in this dependency. |
| ... | @@ -124,6 +122,7 @@ dependencies: | ... | @@ -124,6 +122,7 @@ dependencies: |
| 124 | |------|------|------|-------------| | 122 | |------|------|------|-------------| |
| 125 | | `type` | `string` | required, enum | One of `system_lib`, `git`, `hg`, `http` | | 123 | | `type` | `string` | required, enum | One of `system_lib`, `git`, `hg`, `http` | |
| 126 | | `path` | `string` | required | URL/path to this dependency. depends on the type | | 124 | | `path` | `string` | required | URL/path to this dependency. depends on the type | |
| | 125 | | `src` | `string` | Shorthand for the format `type path`. | |
| 127 | | `version` | `string` | only on some types | pin this dependency at a specific version | | 126 | | `version` | `string` | only on some types | pin this dependency at a specific version | |
| 128 | | `only_os` | `string` | | comma separated list of OS names to add this Dep to | | 127 | | `only_os` | `string` | | comma separated list of OS names to add this Dep to | |
| 129 | | `except_os` | `string` | | comma separated list of OS names to exclude this Dep from | | 128 | | `except_os` | `string` | | comma separated list of OS names to exclude this Dep from | |