# merge \`zig init-exe\` and \`zig init-lib\` into \`zig init\` · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/f645022d16361865e24582d28f1e62312fbc73bb)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: f645022d16361865e24582d28f1e62312fbc73bb

Requested commit: f645022d16361865e24582d28f1e62312fbc73bb

Commit: f645022d16361865e24582d28f1e62312fbc73bb

Tree: 7a7f03aff7bc7b9dc3f4ba1b3be57bd17caae1b7

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
merge `zig init-exe` and `zig init-lib` into `zig init`

Instead of `zig init-lib` and `zig init-exe`, now there is only
`zig init`, which initializes any of the template files that do not
already exist, and makes a package that contains both an executable and
a static library. The idea is that the user can delete whatever they
don't want. In fact, I think even more things should be added to the
build.zig template.

```

## Parents

- [8ca4a5240e0258c84e437ed4a37972c8fff7842d](https://git.cafe/gitcafe/zig/commit/8ca4a5240e0258c84e437ed4a37972c8fff7842d?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/f645022d16361865e24582d28f1e62312fbc73bb?format=markdown)
