1
0
mirror of https://github.com/golang/go synced 2024-09-24 07:20:14 -06:00
go/misc
Mikkel Krautz c17d09a657 misc/dist: require 10.6 or later for OS X .pkgs
This changes the misc/dist program to generate OS X
packages using pkgbuild and productbuild.

The productbuild utility makes it easy to generate
packages with a custom Distribution file.  This allows
us to add an installcheck script that presents a
friendly message to users who are running on an old
version of Mac OS X.

The change also fixes a few issues with the
postinstall script:

 - In-repo version of the script has been made
   executable. Installers generated using the new
   tools couldn't execute it otherwise.

 - It now uses -d for checking for the existence
   of the Xcode specs directory.

 - The call to sudo.bash has been dropped since cov
   and prof aren't bundled with the binary
   distributions.

Fixes #3455.

Tested on 10.5.8, 10.6.0, 10.6.8 and 10.7.3.

R=adg, golang-dev
CC=golang-dev
https://golang.org/cl/5987044
2012-04-23 14:56:03 -07:00
..
arm arm: add gdb support to android launcher script 2010-07-30 10:35:07 +03:00
bash misc/bash: Completion for go tool. 2012-02-28 07:41:49 +11:00
bbedit misc/bbedit: error and rune support 2011-11-14 11:18:00 -08:00
cgo misc/cgo/gmp: update for Go 1 2012-03-21 00:51:48 +08:00
chrome/gophertool gophertool: fix link to the build status dashboard 2012-02-01 20:53:31 -08:00
dashboard misc/dashboard: cope with removed Package fields. 2012-04-12 09:55:37 +10:00
dist misc/dist: require 10.6 or later for OS X .pkgs 2012-04-23 14:56:03 -07:00
emacs misc/emacs: fix go-mode syntax table and whitespace handling. 2012-04-02 12:59:37 -04:00
fraise misc: update type + builtin lists found in editor support files 2011-01-19 23:07:49 -05:00
goplay misc/goplay: fix error on IE8. 2012-03-27 11:16:29 +11:00
IntelliJIDEA misc: syntax highlighting support on IntelliJ IDEA 2011-05-20 11:03:33 -07:00
kate kate: add error and rune 2011-11-14 11:16:06 -08:00
notepadplus misc/notepadplus: error and rune support 2011-11-14 11:19:08 -08:00
osx misc/osx: update for dist tool, drop image.bash, update readme 2012-02-07 14:37:57 +11:00
swig various: use $GCFLAGS and $GCIMPORTS like Make does 2011-12-16 11:31:39 -05:00
vim misc/vim: restore fileencodings. 2012-03-14 18:43:01 +11:00
xcode misc/xcode: fix typos 2012-03-05 15:50:48 -08:00
zsh misc: add zsh completion for go tool. 2012-03-03 00:12:40 +01:00
benchcmp misc: update usage message in benchcmp for go tool 2012-03-05 10:57:58 +11:00
pprof runtime/pprof: support OS X CPU profiling 2012-02-28 16:18:24 -05:00