mirror of
https://github.com/docker/compose.git
synced 2025-07-25 22:54:54 +02:00
Add script to build an OS X binary
This commit is contained in:
parent
75c430635b
commit
9550387e39
1
.gitignore
vendored
1
.gitignore
vendored
@ -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).
|
||||||
|
|
||||||
|
3
bin/fig
Executable file
3
bin/fig
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
#!/usr/bin/env python
|
||||||
|
from fig.cli.main import main
|
||||||
|
main()
|
6
script/build-osx
Executable file
6
script/build-osx
Executable file
@ -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…
x
Reference in New Issue
Block a user