##// END OF EJS Templates
osx: add support for dumping built dmg into OUTPUTDIR
Augie Fackler -
r29023:e2a553ae stable
parent child Browse files
Show More
@@ -161,8 +161,11 b' osx:'
161 rm -rf dist/mercurial-*.mpkg
161 rm -rf dist/mercurial-*.mpkg
162 python -m bdist_mpkg.script_bdist_mpkg setup.py --
162 python -m bdist_mpkg.script_bdist_mpkg setup.py --
163 python contrib/fixpax.py dist/mercurial-*.mpkg/Contents/Packages/*.pkg/Contents/Archive.pax.gz
163 python contrib/fixpax.py dist/mercurial-*.mpkg/Contents/Packages/*.pkg/Contents/Archive.pax.gz
164 mkdir -p packages/osx
164 OUTPUTDIR=$${OUTPUTDIR:=packages/osx} && \
165 N=`cd dist && echo mercurial-*.mpkg | sed 's,\.mpkg$$,,'` && hdiutil create -srcfolder dist/$$N.mpkg/ -scrub -volname "$$N" -ov packages/osx/$$N.dmg
165 mkdir -p $$OUTPUTDIR && \
166 N=`cd dist && echo mercurial-*.mpkg | sed 's,\.mpkg$$,,'` && \
167 hdiutil create -srcfolder dist/$$N.mpkg/ -scrub -volname "$$N" \
168 -ov $$OUTPUTDIR/$$N.dmg
166 rm -rf dist/mercurial-*.mpkg
169 rm -rf dist/mercurial-*.mpkg
167
170
168 deb:
171 deb:
General Comments 0
You need to be logged in to leave comments. Login now