mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-22 12:54:20 +08:00
Add pull command
This commit is contained in:
parent
60904ec479
commit
027c7daf16
4
all.sh
Executable file
4
all.sh
Executable file
@ -0,0 +1,4 @@
|
||||
for recipe in `ls -1 recipes | grep -v libstd`
|
||||
do
|
||||
./cook.sh $recipe $*
|
||||
done
|
||||
8
cook.sh
8
cook.sh
@ -15,6 +15,7 @@ then
|
||||
source recipe.sh
|
||||
for arg in "${@:2}"
|
||||
do
|
||||
echo "$1" "$arg"
|
||||
case "$arg" in
|
||||
fetch)
|
||||
git clone --recursive "$GIT" build
|
||||
@ -22,6 +23,13 @@ then
|
||||
unfetch)
|
||||
rm -rf build
|
||||
;;
|
||||
pull)
|
||||
pushd build > /dev/null
|
||||
git pull
|
||||
git submodule sync
|
||||
git submodule update --init --recursive
|
||||
popd > /dev/null
|
||||
;;
|
||||
update)
|
||||
pushd build > /dev/null
|
||||
xargo update
|
||||
|
||||
Loading…
Reference in New Issue
Block a user