Skip to content
Snippets Groups Projects
recipe.toml 503 B
Newer Older
Ribbon's avatar
Ribbon committed
#TODO fix the script
Ribbon's avatar
Ribbon committed
[source]
git = "https://github.com/Wayoung7/firework-rs"
[build]
template = "custom"
script = """
Ribbon's avatar
Ribbon committed
package=firework-rs
"${COOKBOOK_CARGO}" build \
            --manifest-path "${COOKBOOK_SOURCE}/Cargo.toml" \
            --package "${package}" \
            --release
        mkdir -pv "${COOKBOOK_STAGE}/usr/bin"
        cp -v \
            "target/${TARGET}/release/${package}" \
            "${COOKBOOK_STAGE}/usr/bin/${package}"
Ribbon's avatar
Ribbon committed
cookbook_cargo_examples fountain heart vortex
"""