mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-21 04:14:17 +08:00
commit
d50870cd8b
7
.gitmodules
vendored
7
.gitmodules
vendored
@ -1,8 +1,7 @@
|
||||
[submodule "libc-artifacts"]
|
||||
path = libc-artifacts
|
||||
url = https://github.com/redox-os/libc-artifacts.git
|
||||
branch = master
|
||||
[submodule "pkgutils"]
|
||||
path = pkgutils
|
||||
url = https://github.com/redox-os/pkgutils.git
|
||||
branch = master
|
||||
[submodule "docgen"]
|
||||
path = docgen
|
||||
url = https://github.com/redox-os/docgen.git
|
||||
|
||||
9
cook.sh
9
cook.sh
@ -11,9 +11,15 @@ export DEBUG=
|
||||
|
||||
if [ ! "$(uname -s)" = "Redox" ]
|
||||
then
|
||||
|
||||
function pkg {
|
||||
CC=cc cargo run --release --manifest-path "$ROOT/pkgutils/Cargo.toml" --bin pkg -- $@
|
||||
}
|
||||
|
||||
function docgen {
|
||||
CC=cc cargo run --release --manifest-path "$ROOT/docgen/Cargo.toml" --bin docgen -- $@
|
||||
}
|
||||
|
||||
fi
|
||||
|
||||
function usage {
|
||||
@ -342,6 +348,7 @@ function op {
|
||||
else
|
||||
build=release
|
||||
fi
|
||||
|
||||
bins="$(find target/$TARGET/$build/ -maxdepth 1 -type f ! -name '*.*')"
|
||||
if [ -n "$bins" ]
|
||||
then
|
||||
@ -356,6 +363,8 @@ function op {
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
docgen ../source ../stage/ref
|
||||
fi
|
||||
popd > /dev/null
|
||||
;;
|
||||
|
||||
1
docgen
Submodule
1
docgen
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 67119659a484dba78eb29c1081afc8f8ea7014c3
|
||||
@ -1 +0,0 @@
|
||||
Subproject commit c67b055af98c5f9d3afbe62479e8201f01f941cc
|
||||
Loading…
Reference in New Issue
Block a user