Show More
@@ -1,57 +1,56 b'' | |||
|
1 | 1 | #require test-repo slow osx osxpackaging |
|
2 | 2 | |
|
3 | 3 | $ . "$TESTDIR/helpers-testrepo.sh" |
|
4 | 4 | |
|
5 |
$ OUTPUTDIR=` |
|
|
5 | $ OUTPUTDIR="`pwd`" | |
|
6 | 6 | $ export OUTPUTDIR |
|
7 | 7 | $ KEEPMPKG=yes |
|
8 | 8 | $ export KEEPMPKG |
|
9 | 9 | |
|
10 | 10 | $ cd "$TESTDIR"/.. |
|
11 | $ rm -rf dist | |
|
12 | $ make osx > $OUTPUTDIR/build.log 2>&1 | |
|
13 | $ cd $OUTPUTDIR | |
|
11 | $ make osx > "$OUTPUTDIR/build.log" 2>&1 | |
|
12 | $ cd "$OUTPUTDIR" | |
|
14 | 13 | $ ls -d *.pkg |
|
15 | 14 | Mercurial-*-macosx10.*.pkg (glob) |
|
16 | 15 | |
|
17 | 16 | $ xar -xf Mercurial*.pkg |
|
18 | 17 | |
|
19 | 18 | Gather list of all installed files: |
|
20 | 19 | $ lsbom mercurial.pkg/Bom > boms.txt |
|
21 | 20 | |
|
22 | 21 | Spot-check some randomly selected files: |
|
23 | 22 | $ grep bdiff boms.txt | cut -d ' ' -f 1,2,3 |
|
24 | 23 | ./Library/Python/2.7/site-packages/mercurial/bdiff.so 100755 0/0 |
|
25 | 24 | ./Library/Python/2.7/site-packages/mercurial/pure/bdiff.py 100644 0/0 |
|
26 | 25 | ./Library/Python/2.7/site-packages/mercurial/pure/bdiff.pyc 100644 0/0 |
|
27 | 26 | ./Library/Python/2.7/site-packages/mercurial/pure/bdiff.pyo 100644 0/0 |
|
28 | 27 | $ grep zsh/site-functions/hg boms.txt | cut -d ' ' -f 1,2,3 |
|
29 | 28 | ./usr/local/share/zsh/site-functions/hg 100644 0/0 |
|
30 | 29 | $ grep hg-completion.bash boms.txt | cut -d ' ' -f 1,2,3 |
|
31 | 30 | ./usr/local/hg/contrib/hg-completion.bash 100644 0/0 |
|
32 | 31 | $ egrep 'man[15]' boms.txt | cut -d ' ' -f 1,2,3 |
|
33 | 32 | ./usr/local/share/man/man1 40755 0/0 |
|
34 | 33 | ./usr/local/share/man/man1/hg.1 100644 0/0 |
|
35 | 34 | ./usr/local/share/man/man5 40755 0/0 |
|
36 | 35 | ./usr/local/share/man/man5/hgignore.5 100644 0/0 |
|
37 | 36 | ./usr/local/share/man/man5/hgrc.5 100644 0/0 |
|
38 | 37 | $ grep bser boms.txt | cut -d ' ' -f 1,2,3 |
|
39 | 38 | ./Library/Python/2.7/site-packages/hgext/fsmonitor/pywatchman/bser.so 100755 0/0 |
|
40 | 39 | ./Library/Python/2.7/site-packages/hgext/fsmonitor/pywatchman/pybser.py 100644 0/0 |
|
41 | 40 | ./Library/Python/2.7/site-packages/hgext/fsmonitor/pywatchman/pybser.pyc 100644 0/0 |
|
42 | 41 | ./Library/Python/2.7/site-packages/hgext/fsmonitor/pywatchman/pybser.pyo 100644 0/0 |
|
43 | 42 | $ grep localrepo boms.txt | cut -d ' ' -f 1,2,3 |
|
44 | 43 | ./Library/Python/2.7/site-packages/mercurial/localrepo.py 100644 0/0 |
|
45 | 44 | ./Library/Python/2.7/site-packages/mercurial/localrepo.pyc 100644 0/0 |
|
46 | 45 | ./Library/Python/2.7/site-packages/mercurial/localrepo.pyo 100644 0/0 |
|
47 | 46 | $ grep 'bin/hg ' boms.txt | cut -d ' ' -f 1,2,3 |
|
48 | 47 | ./usr/local/bin/hg 100755 0/0 |
|
49 | 48 | |
|
50 | 49 | Make sure the built binary uses the system Python interpreter |
|
51 | 50 | $ bsdtar xf mercurial.pkg/Payload usr/local/bin |
|
52 | 51 | Use a glob to find this to avoid check-code whining about a fixed path. |
|
53 | 52 | $ head -n 1 usr/local/b?n/hg |
|
54 | 53 | #!/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python |
|
55 | 54 | |
|
56 | 55 | Note that we're not currently installing any /etc/mercurial stuff, |
|
57 | 56 | including merge-tool configurations. |
General Comments 0
You need to be logged in to leave comments.
Login now