diff --git a/all.sh b/all.sh new file mode 100755 index 000000000..81e77c397 --- /dev/null +++ b/all.sh @@ -0,0 +1,4 @@ +for recipe in `ls -1 recipes | grep -v libstd` +do + ./cook.sh $recipe $* +done diff --git a/cook.sh b/cook.sh index c6c7ee7bf..152935406 100755 --- a/cook.sh +++ b/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