Update recipes

This commit is contained in:
Ribbon 2024-06-11 21:18:25 +00:00
parent ee63aa4823
commit 04a489645d
2 changed files with 13 additions and 1 deletions

View File

@ -3,3 +3,15 @@
git = "https://github.com/loco-rs/loco"
[build]
template = "custom"
script = """
binary=loco-rs
"${COOKBOOK_CARGO}" build \
--manifest-path "${COOKBOOK_SOURCE}/Cargo.toml" \
--package "${binary}" \
--release
--cli
mkdir -pv "${COOKBOOK_STAGE}/usr/bin"
cp -v \
"target/${TARGET}/release/${binary}" \
"${COOKBOOK_STAGE}/usr/bin/${binary}"
"""

View File

@ -1,4 +1,4 @@
#TODO Not compiled or tested
#TODO compiled but not tested
[source]
git = "https://github.com/coralogix/protofetch"
[build]