mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-21 04:14:17 +08:00
config.sh: use prebuilt docgen and pkgar
This commit is contained in:
parent
aae056594d
commit
e07638013b
@ -61,10 +61,10 @@ export STAT
|
||||
if [ ! "$(uname -s)" = "Redox" ]
|
||||
then
|
||||
function docgen {
|
||||
CC=cc AR=ar RANLIB=ranlib cargo run --release --manifest-path "$ROOT/docgen/Cargo.toml" --bin docgen -- "$@"
|
||||
"$ROOT/docgen/target/docgen" "$@"
|
||||
}
|
||||
|
||||
function pkgar {
|
||||
CC=cc AR=ar RANLIB=ranlib cargo run --release --manifest-path "$ROOT/pkgar/Cargo.toml" --bin pkgar -- "$@"
|
||||
"$ROOT/pkgar/target/release/pkgar" "$@"
|
||||
}
|
||||
fi
|
||||
fi
|
||||
|
||||
Loading…
Reference in New Issue
Block a user