holmgr / cargo-sweep

A cargo subcommand for cleaning up unused build files generated by Cargo
MIT License
729 stars 31 forks source link

Pre-built binaries #4

Closed epage closed 5 years ago

epage commented 5 years ago

This will be important for CIs, otherwise

For doing pre-build binaries, see trust. The WG-CLI is working on improving this

holmgr commented 5 years ago

I have not used trust before so I am unsure of exactly what the problem with pre-built binaries are currently. Travis for instance suggests not having compiled binaries in the cached folder https://docs.travis-ci.com/user/caching#things-not-to-cache.

epage commented 5 years ago

Trust is a CI template for creating pre-built binaries, uploading them to github releases, and offers a tool for downloading them.

My concern is having to do a cargo install during a build. If you use the template, I can instead use the install script to download a specific version of the tools I need.

holmgr commented 5 years ago

Ah now I get it. You want this project to use trust to deploy pre built binaries on releases. Seems easy enough to get started :)

Eh2406 commented 5 years ago

If this means that there is a way to use this on ci without building from scratch. then we should add instructions to the readme on how to use it.

holmgr commented 5 years ago

Yes I would agree, will fix it hopefully this weekend, looking at it now it might not even be working :/