mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-25 14:24:18 +08:00
Migrate some WIP demo recipes to "cargoexamples" and "cargopackages"
This commit is contained in:
parent
7e5bbda054
commit
7112ff5f40
@ -3,8 +3,7 @@
|
||||
git = "https://github.com/albedo-engine/albedo"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
cookbook_cargo_examples gpu_picking
|
||||
"""
|
||||
template = "cargo"
|
||||
cargoexamples = [
|
||||
"gpu_picking"
|
||||
]
|
||||
|
||||
@ -3,8 +3,7 @@
|
||||
git = "https://github.com/gdt050579/AppCUI-rs"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
cookbook_cargo_packages examples
|
||||
"""
|
||||
template = "cargo"
|
||||
cargopackages = [
|
||||
"examples"
|
||||
]
|
||||
|
||||
@ -3,8 +3,11 @@
|
||||
git = "https://github.com/Jondolf/avian"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
cookbook_cargo_examples chain_2d many_shapes ray_caster chain_3d cubes
|
||||
"""
|
||||
template = "cargo"
|
||||
cargoexamples = [
|
||||
"chain_2d",
|
||||
"many_shapes",
|
||||
"ray_caster",
|
||||
"chain_3d",
|
||||
"cubes",
|
||||
]
|
||||
|
||||
@ -3,8 +3,7 @@
|
||||
git = "https://github.com/asciinema/avt"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
cookbook_cargo_examples text
|
||||
"""
|
||||
template = "cargo"
|
||||
cargoexamples = [
|
||||
"text"
|
||||
]
|
||||
|
||||
@ -3,8 +3,7 @@
|
||||
git = "https://github.com/bevyengine/bevy"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
cookbook_cargo_examples hello_world
|
||||
"""
|
||||
template = "cargo"
|
||||
cargoexamples = [
|
||||
"hello_world"
|
||||
]
|
||||
|
||||
@ -3,8 +3,10 @@
|
||||
git = "https://github.com/kvark/blade"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
cookbook_cargo_examples bunnymark particle ray-query scene
|
||||
"""
|
||||
template = "cargo"
|
||||
cargoexamples = [
|
||||
"bunnymark",
|
||||
"particle",
|
||||
"ray-query",
|
||||
"scene",
|
||||
]
|
||||
|
||||
@ -3,11 +3,11 @@
|
||||
git = "https://github.com/DioxusLabs/blitz"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "custom"
|
||||
template = "cargo"
|
||||
cargoexamples = [
|
||||
"url",
|
||||
"markdown",
|
||||
]
|
||||
dependencies = [
|
||||
"openssl3",
|
||||
]
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
cookbook_cargo_examples url markdown
|
||||
"""
|
||||
|
||||
@ -3,8 +3,9 @@
|
||||
git = "https://github.com/yazgoo/blockish"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
cookbook_cargo_examples euc gif tiny-skia
|
||||
"""
|
||||
template = "cargo"
|
||||
cargoexamples = [
|
||||
"euc",
|
||||
"gif",
|
||||
"tiny-skia",
|
||||
]
|
||||
|
||||
@ -3,8 +3,11 @@
|
||||
git = "https://github.com/AryanpurTech/BlueEngine"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
cookbook_cargo_examples triangle square cube rotate_around wireframe
|
||||
"""
|
||||
template = "cargo"
|
||||
cargoexamples = [
|
||||
"triangle",
|
||||
"square",
|
||||
"cube",
|
||||
"rotate_around",
|
||||
"wireframe",
|
||||
]
|
||||
|
||||
@ -3,8 +3,7 @@
|
||||
git = "https://github.com/fishfolk/bones"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
cookbook_cargo_packages demo_hello_world
|
||||
"""
|
||||
template = "cargo"
|
||||
cargopackages = [
|
||||
"demo_hello_world",
|
||||
]
|
||||
|
||||
@ -3,8 +3,11 @@
|
||||
git = "https://github.com/colored-rs/colored"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
cookbook_cargo_examples control custom_colors dynamic_colors most_simple nested_colors
|
||||
"""
|
||||
template = "cargo"
|
||||
cargoexamples = [
|
||||
"control",
|
||||
"custom_colors",
|
||||
"dynamic_colors",
|
||||
"most_simple",
|
||||
"nested_colors",
|
||||
]
|
||||
|
||||
@ -3,10 +3,20 @@
|
||||
git = "https://github.com/darthdeus/comfy"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
cookbook_cargo_examples animated_shapes animated_sprites animated_text \
|
||||
bloom circle colors egui fragment-shader lighting music shapes \
|
||||
single_particle sprite text
|
||||
"""
|
||||
template = "cargo"
|
||||
cargoexamples = [
|
||||
"animated_shapes",
|
||||
"animated_sprites",
|
||||
"animated_text",
|
||||
"bloom",
|
||||
"circle",
|
||||
"colors",
|
||||
"egui",
|
||||
"fragment-shader",
|
||||
"lighting",
|
||||
"music",
|
||||
"shapes",
|
||||
"single_particle",
|
||||
"sprite",
|
||||
"text",
|
||||
]
|
||||
|
||||
@ -3,8 +3,11 @@
|
||||
git = "https://github.com/console-rs/console"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
cookbook_cargo_examples colors colors256 cursor_at keyboard term
|
||||
"""
|
||||
template = "cargo"
|
||||
cargoexamples = [
|
||||
"colors",
|
||||
"colors256",
|
||||
"cursor_at",
|
||||
"keyboard",
|
||||
"term",
|
||||
]
|
||||
|
||||
@ -3,8 +3,7 @@
|
||||
git = "https://github.com/Lichtso/contrast_renderer"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
cookbook_cargo_examples showcase
|
||||
"""
|
||||
template = "cargo"
|
||||
cargoexamples = [
|
||||
"showcase",
|
||||
]
|
||||
|
||||
@ -3,18 +3,8 @@
|
||||
git = "https://github.com/tracel-ai/cubecl"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
package=gelu
|
||||
"${COOKBOOK_CARGO}" build \
|
||||
--manifest-path "${COOKBOOK_SOURCE}/Cargo.toml" \
|
||||
--package "${package}" \
|
||||
--release
|
||||
--no-default-features
|
||||
--wgpu
|
||||
mkdir -pv "${COOKBOOK_STAGE}/usr/bin"
|
||||
cp -v \
|
||||
"target/${TARGET}/release/${package}" \
|
||||
"${COOKBOOK_STAGE}/usr/bin/${package}"
|
||||
"""
|
||||
template = "cargo"
|
||||
cargopackages = [
|
||||
"gelu"
|
||||
]
|
||||
cargoflags = ["--no-default-features --wgpu"]
|
||||
|
||||
@ -3,10 +3,15 @@
|
||||
git = "https://github.com/DioxusLabs/dioxus"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
cookbook_cargo_examples calculator clock counters \
|
||||
file_explorer hello_world multiwindow popup window_event \
|
||||
window_zoom
|
||||
"""
|
||||
template = "cargo"
|
||||
cargoexamples = [
|
||||
"calculator",
|
||||
"clock",
|
||||
"counters",
|
||||
"file_explorer",
|
||||
"hello_world",
|
||||
"multiwindow",
|
||||
"popup",
|
||||
"window_event",
|
||||
"window_zoom",
|
||||
]
|
||||
|
||||
@ -3,8 +3,7 @@
|
||||
git = "https://github.com/r-marques/doomfire"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
cookbook_cargo_examples doomfire-minifb
|
||||
"""
|
||||
template = "cargo"
|
||||
cargoexamples = [
|
||||
"doomfire-minifb",
|
||||
]
|
||||
|
||||
@ -3,8 +3,7 @@
|
||||
git = "https://github.com/emilk/egui"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
cookbook_cargo_packages hello_world
|
||||
"""
|
||||
template = "cargo"
|
||||
cargoexamples = [
|
||||
"hello_world"
|
||||
]
|
||||
|
||||
@ -3,9 +3,11 @@
|
||||
git = "https://github.com/zesterer/euc"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
cookbook_cargo_examples spinning_cube teapot texture_mapping \
|
||||
triangle wireframes
|
||||
"""
|
||||
template = "cargo"
|
||||
cargoexamples = [
|
||||
"spinning_cube",
|
||||
"teapot",
|
||||
"texture_mapping",
|
||||
"triangle",
|
||||
"wireframes",
|
||||
]
|
||||
|
||||
@ -3,8 +3,8 @@
|
||||
git = "https://github.com/mehrantsi/FeOxDB"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
cookbook_cargo_examples basic_usage deterministic_test
|
||||
"""
|
||||
template = "cargo"
|
||||
cargoexamples = [
|
||||
"basic_usage",
|
||||
"deterministic_test",
|
||||
]
|
||||
|
||||
@ -3,8 +3,7 @@
|
||||
git = "https://github.com/rust-lang/ferris-says"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
cookbook_cargo_packages fsays
|
||||
"""
|
||||
template = "cargo"
|
||||
cargopackages = [
|
||||
"fsays",
|
||||
]
|
||||
|
||||
@ -3,8 +3,8 @@
|
||||
git = "https://github.com/BillyDM/firewheel"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
cookbook_cargo_examples beep_test play_sample
|
||||
"""
|
||||
template = "cargo"
|
||||
cargoexamples = [
|
||||
"beep_test",
|
||||
"play_sample",
|
||||
]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user