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

cargo 3ds new and init commands #29

Closed
ian-h-chamberlain opened this issue Mar 17, 2023 · 1 comment · Fixed by #36
Closed

cargo 3ds new and init commands #29

ian-h-chamberlain opened this issue Mar 17, 2023 · 1 comment · Fixed by #36

Comments

@ian-h-chamberlain
Copy link
Member

Since cargo new is a convenient way to start a new project, I thought it might be useful to have a cargo 3ds new as well, to try and make it even easier to get started. This definitely isn't a necessary feature, but it might be nice to have to simplify the setup.

We could probably piggyback off plain cargo new --bin (forwarding arguments), then just modifying main.rs and Cargo.toml to add the dependencies on ctru and do some basic setup of Gfx and a Console to get a hello-world going.

Same all applies for cargo init, I think. Finding the directory would be slightly trickier but probably not too bad.

@AzureMarker
Copy link
Member

Might also want to add a rust-toolchain/rust-toolchain.toml file so it uses nightly.

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 a pull request may close this issue.

2 participants