Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 'zigmod add' command to add from git, aquila and zpm #21

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

zenith391
Copy link

@zenith391 zenith391 commented Jul 9, 2021

This pull request unifies zpm add and aq add under a single add command like most package managers.

The pull request importantly adds the git subcommand to the add command for adding a package directly from a Git repository which fixes #17. Alongside the ease of use, this helps simplifying the documentation of libraries that are not on aquila and zpm by having to only list one command instead of a line to add manually in zig.mod file.

Finally, I am not sure of whether a command like zigmod add --zpm package should be used instead of zigmod add zpm package as I think flags could be added to the command to for example, save the package as a dev dependency using something like zigmod add --dev zpm package

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add command to add github package to zig.mod
1 participant