mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-24 22:04:19 +08:00
Use built in cookbook_cargo_packages instead of custom script.
This commit is contained in:
parent
9481a62104
commit
bab021efc9
@ -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
|
||||
"""
|
||||
|
||||
Loading…
Reference in New Issue
Block a user