diff --git a/recipes/book/recipe.toml b/recipes/book/recipe.toml new file mode 100644 index 0000000000000000000000000000000000000000..300f96de8e10571830670aea92ac8eab5155e935 --- /dev/null +++ b/recipes/book/recipe.toml @@ -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}" +""" diff --git a/recipes/orbutils/recipe.toml b/recipes/orbutils/recipe.toml index daa18cce95791c28806a7a110495748406fdd491..684b88143c46aab5108798fbfd846af3a9121488 100644 --- a/recipes/orbutils/recipe.toml +++ b/recipes/orbutils/recipe.toml @@ -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 """