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

SCM Repository

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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3841 - (view) (download) (as text)

1 : jhr 3841 #!/bin/sh
2 :     #
3 :     # Script to build the installer package for x86 on Mac OS X (10.7+)
4 :     #
5 :    
6 :     # FIXME: check for VERSION argument!!!
7 :     VERSION=$1
8 :    
9 :     # patch distribution file for version
10 :     #
11 :     sed -e "s/VERSION/$VERSION/g" distribution_xml.in > distribution.xml
12 :    
13 :     # build package
14 :     #
15 :     pkgbuild --scripts smlnj.dst/config/MacResources/ --install-location /usr/local/smlnj --root smlnj.dst/ smlnj.pkg
16 :    
17 :     # build distribution package
18 :     #
19 :     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