mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-17 15:34:18 +08:00
23 lines
697 B
TOML
23 lines
697 B
TOML
#TODO camino crate error
|
|
# broken since https://github.com/http-server-rs/http-server/pull/461
|
|
# because it needs https://trunkrs.dev to work
|
|
[source]
|
|
git = "https://github.com/http-server-rs/http-server"
|
|
shallow_clone = true
|
|
|
|
[build]
|
|
template = "custom"
|
|
dependencies = [
|
|
"openssl3",
|
|
]
|
|
script = """
|
|
DYNAMIC_INIT
|
|
"${COOKBOOK_CARGO}" build \
|
|
--manifest-path "${COOKBOOK_SOURCE}/crates/file-explorer-plugin/Cargo.toml" \
|
|
--locked ${build_flags} --lib
|
|
cp -v \
|
|
"target/${TARGET}/${build_type}/libfile_explorer_plugin.dylib" \
|
|
"${COOKBOOK_SOURCE}"/lib/http-server/inline/file_explorer.plugin.httprs
|
|
COOKBOOK_CARGO_PATH=crates/http-server cookbook_cargo --bin http-server
|
|
"""
|