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

generate ci subcommand #20

Closed
Gankra opened this issue Oct 24, 2022 · 1 comment
Closed

generate ci subcommand #20

Gankra opened this issue Oct 24, 2022 · 1 comment

Comments

@Gankra
Copy link
Member

Gankra commented Oct 24, 2022

This can be cut from the milestone but I think it would be Killer if you could do something like:

cargo dist init github-ci

And it just creates .github/ci/cargo-dist.yml or whatever.

However this raises questions about the Scope of cargo-dist's functionality and what the action would cover:

Or is this stuff more in scope for "the axo cli"?

One possible reason to want cargo-dist to be in the loop for ci declaration is for #19. One could image declaring "hey I want these targets built, your figure it out" and dist figures out the ideal matrix of platforms/cross-compilation to do this Best (building apple stuff on non-apple platforms is a pain in the ass that apple doesn't want you doing).

@Gankra Gankra added this to the milestone 1 (basic) milestone Oct 24, 2022
@Gankra
Copy link
Member Author

Gankra commented Jan 12, 2023

You can either do cargo dist init --ci=github at first setup or cargo dist generate-ci github to do it later

@Gankra Gankra closed this as completed Jan 12, 2023
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

No branches or pull requests

1 participant