Updating install script
This commit is contained in:
@@ -89,12 +89,10 @@ fi
|
|||||||
|
|
||||||
# ---------- 5. Build ----------
|
# ---------- 5. Build ----------
|
||||||
info "Building $BUNDLE_BIN (release)..."
|
info "Building $BUNDLE_BIN (release)..."
|
||||||
cargo build --release --bin "$BUNDLE_BIN" --package "$BUNDLE_PKG" \
|
pushd "$CLONE_DIR" > /dev/null
|
||||||
--manifest-path "$CLONE_DIR/Cargo.toml"
|
cargo build --release --bin "$BUNDLE_BIN" --package "$BUNDLE_PKG"
|
||||||
|
|
||||||
info "Bundling $APP_NAME..."
|
info "Bundling $APP_NAME..."
|
||||||
# cargo-bundle does not support --manifest-path; run from repo root
|
|
||||||
pushd "$CLONE_DIR" > /dev/null
|
|
||||||
cargo bundle --release --bin "$BUNDLE_BIN" --package "$BUNDLE_PKG"
|
cargo bundle --release --bin "$BUNDLE_BIN" --package "$BUNDLE_PKG"
|
||||||
popd > /dev/null
|
popd > /dev/null
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user