Skip to content
Permalink
Browse files

- added -load which loads the BuildRoot/ with a single project

git-svn-id: https://svn.macosforge.org/repository/darwinbuild/trunk@173 10a61168-4876-4dac-953b-31e694342555
  • Loading branch information
kvanvechten committed Aug 11, 2005
1 parent 592f0e9 commit b5c2314a0c99637a5cfe3b1129b9c5dd17a220b4
Showing with 13 additions and 0 deletions.
  1. +2 −0 CHANGES
  2. +11 −0 darwinbuild/darwinbuild
@@ -2,6 +2,8 @@ Darwin Build Scripts Change History
-----------------------------------

Release X.Y.Z [NOW]
- darwinbuild: Add a -load option which loads the BuildRoot/ with a
single project
- darwinbuild: Add a -loadonly option which loads
the BuildRoot/ but doesn't start the build
- darwinbuild: use -stdin mode to register to register
@@ -239,6 +239,7 @@ fi
### -fetch Download necessary source and patch files
### -source Extract, patch, and stage source
### -nochroot Do not chroot into the BuildRoot when building
### -load Populate the BuildRoot with one project
### -noload Don't load dependencies into the chroot.
### Has no effect if -nochroot is specified.
### -loadonly Only load dependencies into the chroot, but
@@ -272,6 +273,8 @@ for ARG in "$@"; do
depsbuild="${depsbuild} ${ARG/*=/}"
elif [ "$ARG" == "-nochroot" ]; then
export CHROOTED="NO"
elif [ "$ARG" == "-load" ]; then
action="load"
elif [ "$ARG" == "-noload" ]; then
noload="YES"
elif [ "$ARG" == "-loadonly" ]; then
@@ -318,6 +321,14 @@ if [ "$depsbuild" == "" ]; then
fi


###
### If we are doing a -load, install the root and exit.
###
if [ "$action" == "load" ]; then
InstallRoot "$BuildRoot" "$projnam" "$depsbuild"
exit 0
fi

#
# Get the version of the project for this build.
#

0 comments on commit b5c2314

Please sign in to comment.
You can’t perform that action at this time.