cardoe / cargo-ebuild

cargo extension that can generate ebuilds using the in-tree eclasses
Apache License 2.0
75 stars 13 forks source link

Missing documentation #3

Closed Dr-Terrible closed 6 years ago

Dr-Terrible commented 6 years ago

Please, can you add some kind of documentation that explains how to use and invoke the command-line tool for a real case scenario? People not used to rust/cargo will have hard times figuring it out. Thank you.

cardoe commented 6 years ago

Sure. Basically right now its git clone the project and checkout the tag of the version you want to build and run cargo ebuild. Obviously those steps are a bit much and it'd be nicer to run cargo ebuild <pkg> and have it reach out to crates.io. That's something I need to add.

Dr-Terrible commented 6 years ago

Obviously those steps are a bit much and it'd be nicer to run cargo ebuild and have it reach out to crates.io.

Indeed, that was my initial confusion. I spent at least an hour trying to figure out why the tool complained and did nothing when I invoked cargo ebuild <github-url>. Only later I realised that I had to clone the repo and run the command on the clone.

That's something I need to add.

That would be awesome, thank you. It's not urgent, btw; I'm fine with manually checking out a repo.

cardoe commented 6 years ago

Does the info provided in the README help? If you'd like to see future improvement please re-open or create a new ticket.

Dr-Terrible commented 6 years ago

I think the new info are quite good 👍 Thank you for the support :)