| ... | ... | @@ -0,0 +1,18 @@ |
| 1 | # Zigmod Tutorial |
| 2 | |
| 3 | This guide will go over the various common workflows done while using Zigmod as well as how its design goals fit into them. |
| 4 | |
| 5 | ## Initialize a new project |
| 6 | To get started you'll want to run through these commands. |
| 7 | |
| 8 | ``` |
| 9 | git init |
| 10 | zig init-exe |
| 11 | zigmod init |
| 12 | ``` |
| 13 | |
| 14 | Zigmod's init wizard will ask you if the current project is an application or a library and setup some initial properties in your `zig.mod`. However, if you do plan to have a project that is both a library to be used in other Zig projects and an application itself, don't fret. For Zigmod is able to support both of thses configurations simultaneously. |
| 15 | |
| 16 | The wizard will also ask if you'd like it setup any additional metadata files such as `.gitignore` or `LICENSE` for you. |
| 17 | |
| 18 | > Ref: See [`zigmod init`](./commands/init.md) for more info. |