Skip to content

Instantly share code, notes, and snippets.

@gbenatti
Created March 31, 2010 16:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gbenatti/350513 to your computer and use it in GitHub Desktop.
Save gbenatti/350513 to your computer and use it in GitHub Desktop.
#!/bin/sh
export PATH="/Library/Frameworks/Mono.framework/Versions/Current/bin:$PATH"
export PKG_CONFIG_PATH=/Library/Frameworks/Mono.framework/Versions/Current/lib/pkgconfig:/Library/Frameworks/Mono.framework/Home/lib/pkgconfig:/usr/lib/pkgconfig:/opt/local/lib/pkgconfig
pushd $HOME/Projects/third-party/boo
for m in Boo.Lang Boo.Lang.Compiler Boo.Lang.CodeDom Boo.Lang.Parser Boo.Lang.Useful Boo.Lang.Interpreter Boo.Lang.Extensions; do sudo /Library/Frameworks/Mono.framework/Home/bin/gacutil /u $m; done
alias nant=/Library/Frameworks/Mono.framework/Home/bin/nant
nant rebuild update-bin && nant make-bin-dist && tar xzvf boo-* && cd boo-* && ./configure --prefix=/Library/Frameworks/Mono.framework/Home --libdir=/Library/Frameworks/Mono.framework/Home/lib && make && sudo
sudo make install && cd .. && rm -fr boo-*
sudo cp bin/*.exe bin/*.config /Library/Frameworks/Mono.framework/Home/lib/boo
popd
@gbenatti
Copy link
Author

Script i use to update my boo installation from source code, it assumes that the boo code is in $HOME/Projects/third-party/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment