Open armandas opened 5 days ago
I love the idea but wouldn't this make it incompatible with using the github template feature?
Yeah, I guess that would be the reason to keep the scripts around...
Yeah, I guess if they use the GitHub template they can just change it manually or use the script (which will need to be updated).
cargo-generate
is a popular tool for generating projects from templates and significantly lowers the barrier to starting. This PR makes changes to supportcargo-generate
, enabling users to start a project with a single line:cargo generate --git https://github.com/emilk/eframe_template
The core changes are:
However, the bulk of changes are in order to update the github actions. The flow is as follows:
cargo-generate
Tangential changes to the actions:
actions-rs
actions are no longer maintained, so their usage has been removed. For rust toolchain, I'm usingdtolnay/rust-toolchain
action. Cargo commands are now just written out, instead of relying on an action.trunk
is installed usingcargo binstall
instead of usingwget