Comments (3)
Hi @stephenchu
prebuilt binaries are for GNU/Linux only, not for mac OS.
I should write it somewhere, sorry.
I built this for you with golang cross compile built-in on my Linux 64 bits OS.
$ make docopts-OSX
env GOOS=darwin go build -o docopts-OSX docopts.go
I don't have any mac OS nearby, it is not tested.
I uploaded it here: docopts-OSX
Download Expiration: sunday 9 june 2019 05:26 GMT+2
https://framadrop.org/r/yyX4nzLvMc#ravQ1355P/8+Y/A5J0H3XpId+FH++1pTCnbfpwEK/38=
Here is the checksum to verify the downloaded binary.
$ sha256sum docopts-OSX
4981ea3995641d3b00f5ee760ea404598734aa2320f81a6ef8b9c569a865d8c1 docopts-OSX
does it helps?
In the file:
https://github.com/docopt/docopts/blob/master/.travis.yml
There is command to build for mac OS, if you want to try on your computer
Of course, you will need to setup a build environment for golang on you computer.
brew update
brew install bash
bash --version ; type bash
go get github.com/docopt/docopt-go
go get github.com/docopt/docopts
another option would be to retrieve the travis built binary.
Hope that helps.
from docopts.
Hi @stephenchu, did you test the provided binary?
from docopts.
I close this issue, and opened #32
from docopts.
Related Issues (20)
- opened in error HOT 1
- [FR] return X instead of exit X HOT 8
- get_docopts.sh downloads 32-bit build instead of 64-bit on macOS Catalina HOT 5
- Only the line containing the "Usage:" identifier is parsed on bash 4.4.12 HOT 4
- Terse error message | panic: no fields found in usage (perhaps a spacing error) HOT 2
- --debug flag not working as intended? HOT 2
- docopts adds the `--` token to the position arguments HOT 3
- provide a simpler case $ACTION API through docopts
- Bug in expansion of variable length parameters (when count of parameters == 0) HOT 2
- travis.org seems gone, we need to find something else? HOT 6
- v0.6.4-with-no-mangle-double-dash released pending HOT 1
- get_docopts.sh fails with "unrecognized option '--ignore-missing'" HOT 2
- get_docopts.sh does not support macOS ARM HOT 3
- Create Homebrew tap? HOT 8
- embedded docopts.sh wrapper into docopts binary HOT 5
- Resolution of https://github.com/docopt/docopts/issues/30#issue-447988001 HOT 1
- Reactoring introduce new docopt grammar parser
- docopt_get_values: doesn't handle arguments with whitespaces properly HOT 5
- Separating different positional arguments HOT 1
- Test 24 docopt_get_values fails.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docopts.