diff --git a/recipes/wip/demos/ratzilla/recipe.toml b/recipes/wip/demos/ratzilla/recipe.toml index 49547260a..c021dc8a0 100644 --- a/recipes/wip/demos/ratzilla/recipe.toml +++ b/recipes/wip/demos/ratzilla/recipe.toml @@ -1,20 +1,31 @@ -#TODO fix the script +#TODO not compiled or tested [source] git = "https://github.com/orhun/ratzilla" [build] template = "custom" script = """ recipe="$(basename "${COOKBOOK_RECIPE}")" - for package in animations canvas-stress-test canvas-waves \ -colors-rgb demo demo2 minimal pong text-area user-input website world-map - do - "${COOKBOOK_CARGO}" build \ - --manifest-path "${COOKBOOK_SOURCE}/examples/${package}/Cargo.toml" \ - --package "${package}" \ - --release +function build_from_dir { + prog_name=$1 + dir_name=$2 + "${COOKBOOK_CARGO}" build \ + --manifest-path "${COOKBOOK_SOURCE}/examples/${dir_name}/Cargo.toml" \ + "${build_flags}" mkdir -pv "${COOKBOOK_STAGE}/usr/bin" cp -v \ - "target/${TARGET}/${build_type}/examples/${package}" \ - "${COOKBOOK_STAGE}/usr/bin/${recipe}_${package}" - done + "target/${TARGET}/${build_type}/${prog_name}" \ + "${COOKBOOK_STAGE}/usr/bin/${recipe}_${prog_name}" +} +build_from_dir animations animations +build_from_dir canvas-stress-test canvas_stress_test +build_from_dir canvas-waves canvas_waves +build_from_dir color-rgb colors_rgb +build_from_dir demo demo +build_from_dir demo2 demo2 +build_from_dir minimal minimal +build_from_dir pong pong +build_from_dir text_area text_area +build_from_dir user-input user_input +build_from_dir website website +build_from_dir world-map world_map """ diff --git a/recipes/wip/graphics/terminal/sloth/recipe.toml b/recipes/wip/graphics/terminal/sloth/recipe.toml index 4a1f93952..e356c4133 100644 --- a/recipes/wip/graphics/terminal/sloth/recipe.toml +++ b/recipes/wip/graphics/terminal/sloth/recipe.toml @@ -1,4 +1,4 @@ -#TODO update redox_syscall crate +#TODO compilation error [source] git = "https://github.com/ecumene/rust-sloth" script = "rm Cargo.lock" diff --git a/recipes/wip/graphics/terminal/tapciify/recipe.toml b/recipes/wip/graphics/terminal/tapciify/recipe.toml index 1b321c9f4..a459d38b8 100644 --- a/recipes/wip/graphics/terminal/tapciify/recipe.toml +++ b/recipes/wip/graphics/terminal/tapciify/recipe.toml @@ -1,4 +1,4 @@ -#TODO not compiled or tested +#TODO compiled but not tested [source] git = "https://github.com/tapnisu/tapciify" [build] diff --git a/recipes/wip/gui/gpcl/recipe.toml b/recipes/wip/gui/gpcl/recipe.toml index 9663b2b5b..694a4b80a 100644 --- a/recipes/wip/gui/gpcl/recipe.toml +++ b/recipes/wip/gui/gpcl/recipe.toml @@ -1,4 +1,4 @@ -#TODO not compiled or tested +#TODO wayland-backend crate error [source] git = "https://github.com/dngulin/gpcl" [build]