Implement self-update

This commit is contained in:
Roey Darwish Dror
2018-11-07 14:31:44 +02:00
committed by Your Name
parent 24f8053b17
commit 6108637477
7 changed files with 1095 additions and 5 deletions

View File

@@ -18,7 +18,7 @@ main() {
test -f Cargo.lock || cargo generate-lockfile
# TODO Update this to build the artifacts that matter to you
cross rustc --bin topgrade --target $TARGET --release -- -C lto
cross rustc --bin topgrade --target $TARGET --release --all-features -- -C lto
# TODO Update this to package the right artifacts
cp target/$TARGET/release/topgrade $stage/