Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] View of /osx-dist/build-pkg.sh
ViewVC logotype

View of /osx-dist/build-pkg.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3841 - (download) (as text) (annotate)
Fri Jul 12 21:03:45 2013 UTC (6 years, 2 months ago) by jhr
File size: 548 byte(s)
  Working on package building for Mac OS X
#!/bin/sh
#
# Script to build the installer package for x86 on Mac OS X (10.7+)
#

# FIXME: check for VERSION argument!!!
VERSION=$1

# patch distribution file for version
#
sed -e "s/VERSION/$VERSION/g" distribution_xml.in > distribution.xml

# build package
#
pkgbuild --scripts smlnj.dst/config/MacResources/ --install-location /usr/local/smlnj --root smlnj.dst/ smlnj.pkg

# build distribution package
#
productbuild --sign "Mac Developer: Rich Manalang (3U78U4KMEF)" --distribution ./distribution.xml --package-path . ./smlnj-x86-$VERSION.pkg

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0