| ... | ... | @@ -47,20 +47,17 @@ |
| 47 | 47 | |
| 48 | 48 | // Specifies the set of files and directories that are included in this package. |
| 49 | 49 | // Only files and directories listed here are included in the `hash` that |
| 50 | | // is computed for this package. |
| 50 | // is computed for this package. Only files listed here will remain on disk |
| 51 | // when using the zig package manager. As a rule of thumb, one should list |
| 52 | // files required for compilation plus any license(s). |
| 51 | 53 | // Paths are relative to the build root. Use the empty string (`""`) to refer to |
| 52 | 54 | // the build root itself. |
| 53 | 55 | // A directory listed here means that all files within, recursively, are included. |
| 54 | 56 | .paths = .{ |
| 55 | | // This makes *all* files, recursively, included in this package. It is generally |
| 56 | | // better to explicitly list the files and directories instead, to insure that |
| 57 | | // fetching from tarballs, file system paths, and version control all result |
| 58 | | // in the same contents hash. |
| 59 | | "", |
| 57 | "build.zig", |
| 58 | "build.zig.zon", |
| 59 | "src", |
| 60 | 60 | // For example... |
| 61 | | //"build.zig", |
| 62 | | //"build.zig.zon", |
| 63 | | //"src", |
| 64 | 61 | //"LICENSE", |
| 65 | 62 | //"README.md", |
| 66 | 63 | }, |