mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-21 20:34:17 +08:00
Fix orbutils recipe
This commit is contained in:
parent
0e06e402a2
commit
4af48ae566
10
recipes/book/recipe.toml
Normal file
10
recipes/book/recipe.toml
Normal file
@ -0,0 +1,10 @@
|
||||
[source]
|
||||
git = "https://gitlab.redox-os.org/redox-os/book.git"
|
||||
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
dir="${COOKBOOK_STAGE}/share/book"
|
||||
mkdir -pv "${dir}"
|
||||
mdbook build --dest-dir "${dir}" "${COOKBOOK_SOURCE}"
|
||||
"""
|
||||
@ -1,19 +1,22 @@
|
||||
[source]
|
||||
git = "https://gitlab.redox-os.org/redox-os/orbutils.git"
|
||||
branch = "slint_port/calculator"
|
||||
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
COOKBOOK_CARGO_FLAGS=(
|
||||
--path "${COOKBOOK_SOURCE}/src"
|
||||
--path "${COOKBOOK_SOURCE}/orbutils"
|
||||
--root "${COOKBOOK_STAGE}/ui"
|
||||
--locked
|
||||
--no-track
|
||||
)
|
||||
cookbook_cargo
|
||||
COOKBOOK_CARGO_FLAGS=(
|
||||
--path "${COOKBOOK_SOURCE}/calculator"
|
||||
--root "${COOKBOOK_STAGE}/ui"
|
||||
--locked
|
||||
--no-track
|
||||
)
|
||||
cookbook_cargo
|
||||
"""
|
||||
|
||||
Loading…
Reference in New Issue
Block a user