Open NickAb opened 6 years ago
Hi,
I am looking into optimising my Xcode deployment script used to install Xcode to tens of machines.
Currently it does something like:
/xcode.xip
xcversion install 9.2 --no-switch --url=file:///xcode.xip
But my understanding is that I can save a lot of time on unpacking xip file, if I unpack it once on a base host and rsync Xcode.app directly. And then all I will need to do is to run following lines of install action: https://github.com/KrauseFx/xcode-install/blob/e7e5441d250e98209d6cd56b7c6b36f396483170/lib/xcode/install.rb#L129-L132
install
Is it correct and would you be open to a PR that will add new action called, for example, prepare or run-first-launch which will run approve_license and install_components for selected xcode version?
prepare
run-first-launch
approve_license
install_components
I can see the value in having that, if you're otherwise rolling your own mechanism to distribute the app bundle. Feel free to write up a PR!
Hi,
I am looking into optimising my Xcode deployment script used to install Xcode to tens of machines.
Currently it does something like:
/xcode.xip
xcversion install 9.2 --no-switch --url=file:///xcode.xip
But my understanding is that I can save a lot of time on unpacking xip file, if I unpack it once on a base host and rsync Xcode.app directly. And then all I will need to do is to run following lines of
install
action: https://github.com/KrauseFx/xcode-install/blob/e7e5441d250e98209d6cd56b7c6b36f396483170/lib/xcode/install.rb#L129-L132Is it correct and would you be open to a PR that will add new action called, for example,
prepare
orrun-first-launch
which will runapprove_license
andinstall_components
for selected xcode version?