mirror of https://github.com/docker/compose.git
Add script to build an OS X binary
This commit is contained in:
parent
75c430635b
commit
9550387e39
|
@ -4,3 +4,4 @@
|
||||||
/dist
|
/dist
|
||||||
/docs/_site
|
/docs/_site
|
||||||
/docs/.git-gh-pages
|
/docs/.git-gh-pages
|
||||||
|
fig.spec
|
||||||
|
|
|
@ -52,4 +52,10 @@ Running the test suite
|
||||||
|
|
||||||
$ script/test
|
$ script/test
|
||||||
|
|
||||||
|
Building OS X binaries
|
||||||
|
---------------------
|
||||||
|
|
||||||
|
$ script/build-osx
|
||||||
|
|
||||||
|
Note that this only works on Mountain Lion, not Mavericks, due to a [bug in PyInstaller](http://www.pyinstaller.org/ticket/807).
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
#!/usr/bin/env python
|
||||||
|
from fig.cli.main import main
|
||||||
|
main()
|
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/bash
|
||||||
|
set -ex
|
||||||
|
virtualenv venv
|
||||||
|
venv/bin/pip install pyinstaller==2.1
|
||||||
|
venv/bin/pip install .
|
||||||
|
venv/bin/pyinstaller -F bin/fig
|
Loading…
Reference in New Issue