mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-25 06:14:18 +08:00
Fix the mousefood recipe and update a TODO
This commit is contained in:
parent
cecc4641da
commit
b22a489f4b
@ -1,4 +1,4 @@
|
||||
#TODO not compiled or tested
|
||||
#TODO compiled but not tested
|
||||
[source]
|
||||
git = "https://github.com/baad-c0de/mage-core"
|
||||
[build]
|
||||
|
||||
@ -4,5 +4,17 @@ git = "https://github.com/j-g00da/mousefood"
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
cookbook_cargo_examples simulator
|
||||
recipe="$(basename "${COOKBOOK_RECIPE}")"
|
||||
for example in simulator
|
||||
do
|
||||
"${COOKBOOK_CARGO}" build \
|
||||
--manifest-path "${COOKBOOK_SOURCE}/${PACKAGE_PATH}/Cargo.toml" \
|
||||
--example "${example}" \
|
||||
--release \
|
||||
--simulator
|
||||
mkdir -pv "${COOKBOOK_STAGE}/usr/bin"
|
||||
cp -v \
|
||||
"target/${TARGET}/${build_type}/examples/${example}" \
|
||||
"${COOKBOOK_STAGE}/usr/bin/${recipe}_${example}"
|
||||
done
|
||||
"""
|
||||
|
||||
Loading…
Reference in New Issue
Block a user