diff --git a/recipes/wip/dev/loco/recipe.toml b/recipes/wip/dev/loco/recipe.toml index 3a461cb02e881902a978cc489dbf0834aef151a6..719c1645c8310bda49eb56693902119d59fc1249 100644 --- a/recipes/wip/dev/loco/recipe.toml +++ b/recipes/wip/dev/loco/recipe.toml @@ -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}" +""" diff --git a/recipes/wip/dev/protofetch/recipe.toml b/recipes/wip/dev/protofetch/recipe.toml index a66f1396d0376da9b8e440313c387210029c04c9..33f03db52f466df3dc7d57f8714a37dbc9b8faa6 100644 --- a/recipes/wip/dev/protofetch/recipe.toml +++ b/recipes/wip/dev/protofetch/recipe.toml @@ -1,4 +1,4 @@ -#TODO Not compiled or tested +#TODO compiled but not tested [source] git = "https://github.com/coralogix/protofetch" [build]