-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pre-built Go binaries #12
Comments
Hi @denisidoro Do you have OSX ARM hardware available? Would you like 32bits or 64bits binary? |
@denisidoro is seems quite easy to build with go :-) With branch: https://github.com/Sylvain303/docopts/tree/docopts-go Not tested. Expiration : 2018-07-11 docopts-arm copy and rename the file as you need. Given a working go environment, it seems cross-compiling is trivial: OSX:
arm:
built with:
Tell me if it works. |
Thank you for the quick response! I tried compiling it with
but it failed because I tried with gomobile as well but couldn't find out the correct command. Also, it would be nice to add this command to some package managers! (apt, homebrew, etc) |
nope. As it, the compilation fail:
Don't hesitate to ask for help toward your local mobile developer, Linux User Group, or what ever skilled people you may reach easily. I will ask on my side. About packaging… I will attach some pre-built version with each release at first. Now I can add OSX and arm like a charm. |
Maybe this can help: junegunn/fzf@28ffb96 |
@denisidoro Thanks! Pretty interesting, I will look at it how I can apply it to build Did you try to hack this Dockerfile? |
I did not test the cross-compile to android yet. |
OK I tried: https://github.com/karalabe/xgo
attached as a text file. use this command to decode:
docopts-android-16-arm.base64.txt Not tested. |
Sorry for reviving this thread after so much time, but could you please reupload the binaries? I'm afraid I lost them :/ In any case, I'll try to recompile them in the meantime |
Nevermind: https://github.com/denisidoro/docopts/releases/tag/v0.6.3-alpha1 Additional helper script: in my dotfiles |
Hi @denisidoro , Yes, far far away from the past. 😉 EDIT: The base64 binary link is still there, on my last post of 2018. I added a new issue in the meantime: #32 OSX binaries are easy to produce, arm for android I did not test it, as written in this issue above. You may contribute, by describing the process to test and build binaries for arm-android. I can test and build for OSX via travis, or crosscompile from GNU/Linux. It seems possible to build for android on travis, but I haven't any knowledge on that platform yet. Thanks for your interest. |
I'm currently trying to use https://github.com/Sylvain303/docopts and I'd like to know if someone can provide pre-built binaries for OSX and ARM
Thanks
The text was updated successfully, but these errors were encountered: