redox/recipes/wip/tools/humphrey/recipe.toml
2024-02-15 09:47:49 +00:00

18 lines
488 B
TOML

#TODO not compiled or tested
[source]
git = "https://github.com/w-henderson/Humphrey"
[build]
template = "custom"
script = """
binary=humphrey_server
"${COOKBOOK_CARGO}" build \
--manifest-path "${COOKBOOK_SOURCE}/Cargo.toml" \
--bin "${binary}" \
--release
--all-features
mkdir -pv "${COOKBOOK_STAGE}/usr/bin"
cp -v \
"target/${TARGET}/release/${binary}" \
"${COOKBOOK_STAGE}/usr/bin/${binary}"
"""