Implement self-update
This commit is contained in:
committed by
Your Name
parent
24f8053b17
commit
6108637477
@@ -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/
|
||||
|
||||
@@ -8,6 +8,8 @@ main() {
|
||||
cargo clippy --all-targets --all-features -- -D warnings
|
||||
cross check --target $TARGET
|
||||
cross check --target $TARGET --release
|
||||
cross check --target $TARGET --all-features
|
||||
cross check --target $TARGET --release --all-features
|
||||
|
||||
if [ ! -z $DISABLE_TESTS ]; then
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user