mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-22 12:54:20 +08:00
Merge branch 'script_cleanup' into 'master'
Couple of small improvements See merge request redox-os/cookbook!337
This commit is contained in:
commit
ca86a9d162
@ -1,2 +0,0 @@
|
||||
GIT=https://github.com/4lDO2/fal-rs
|
||||
CARGO_PACKAGE=fal-frontend-redox
|
||||
@ -1 +0,0 @@
|
||||
GIT=https://github.com/jD91mZM2/rust-lci
|
||||
5
recipes/dev/lci/recipe.toml
Normal file
5
recipes/dev/lci/recipe.toml
Normal file
@ -0,0 +1,5 @@
|
||||
[source]
|
||||
git = "https://github.com/jD91mZM2/rust-lci"
|
||||
|
||||
[build]
|
||||
template = "cargo"
|
||||
@ -1,10 +0,0 @@
|
||||
GIT=https://gitlab.redox-os.org/redox-os/sodium.git
|
||||
BINDIR="/ui/bin"
|
||||
CARGOFLAGS="--features orbital"
|
||||
|
||||
function recipe_stage {
|
||||
mkdir -pv "$1/ui/apps"
|
||||
cp -v manifest "$1/ui/apps/sodium"
|
||||
mkdir -pv "$1/ui/icons"
|
||||
cp -v icon.png "$1/ui/icons/sodium.png"
|
||||
}
|
||||
18
recipes/tools/sodium/recipe.toml
Normal file
18
recipes/tools/sodium/recipe.toml
Normal file
@ -0,0 +1,18 @@
|
||||
[source]
|
||||
git = "https://gitlab.redox-os.org/redox-os/sodium.git"
|
||||
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
"${COOKBOOK_CARGO}" install \
|
||||
--path "${COOKBOOK_SOURCE}" \
|
||||
--root "${COOKBOOK_STAGE}/ui" \
|
||||
--locked \
|
||||
--no-track \
|
||||
--features orbital
|
||||
|
||||
mkdir -pv "${COOKBOOK_STAGE}/ui/apps"
|
||||
cp -v ${COOKBOOK_SOURCE}/manifest "${COOKBOOK_STAGE}/ui/apps/sodium"
|
||||
mkdir -pv "${COOKBOOK_STAGE}/ui/icons"
|
||||
cp -v ${COOKBOOK_SOURCE}/icon.png "${COOKBOOK_STAGE}/ui/icons/sodium.png"
|
||||
"""
|
||||
6
recipes/wip/fal/recipe.toml
Normal file
6
recipes/wip/fal/recipe.toml
Normal file
@ -0,0 +1,6 @@
|
||||
[source]
|
||||
git = "https://github.com/4lDO2/fal-rs"
|
||||
|
||||
[build]
|
||||
template = "custom"
|
||||
script = "cookbook_cargo_packages fal-frontend-redox"
|
||||
20
setup.sh
20
setup.sh
@ -1,20 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
|
||||
echo "Downloading latest pkgutils"
|
||||
git submodule update --init --remote pkgutils
|
||||
cargo update --manifest-path pkgutils/Cargo.toml
|
||||
|
||||
echo "Defaulting to rust nightly"
|
||||
rustup override set nightly
|
||||
echo "Update rust nightly"
|
||||
rustup update nightly
|
||||
echo "Downloading rust source"
|
||||
rustup component add rust-src
|
||||
if [ -z "$(which cargo-config)" ]
|
||||
then
|
||||
echo "Installing cargo-config"
|
||||
cargo install -f cargo-config
|
||||
fi
|
||||
|
||||
echo "cook.sh is ready to use"
|
||||
@ -449,7 +449,7 @@ COOKBOOK_CARGO="${COOKBOOK_REDOXER}"
|
||||
function cookbook_cargo {
|
||||
"${COOKBOOK_CARGO}" install \
|
||||
--path "${COOKBOOK_SOURCE}" \
|
||||
--root "${COOKBOOK_STAGE}" \
|
||||
--root "${COOKBOOK_STAGE}/usr" \
|
||||
--locked \
|
||||
--no-track \
|
||||
"$@"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user