Use built in cookbook_cargo_packages instead of custom script.

This commit is contained in:
Ashton Kemerling 2025-06-30 20:10:38 -06:00
parent 9481a62104
commit bab021efc9
No known key found for this signature in database
GPG Key ID: 007B3B1784E6A6FC

View File

@ -9,16 +9,6 @@
git = "https://github.com/risinglightdb/sqllogictest-rs.git"
[build]
template = "custom"
# Necessary deviation from
script = """
package=sqllogictest-bin
recipe="$(basename "${COOKBOOK_RECIPE}")"
"${COOKBOOK_CARGO}" build \
--manifest-path "${COOKBOOK_SOURCE}/Cargo.toml" \
--package "${package}" \
--release
mkdir -pv "${COOKBOOK_STAGE}/usr/bin"
cp -v \
"target/${TARGET}/release/${recipe}" \
"${COOKBOOK_STAGE}/usr/bin/${recipe}"
cookbook_cargo_packages sqllogictest-bin
"""