Hacker News new | ask | show | jobs
by hbien 1260 days ago
Great job! How were you able to do a stand-alone binary for Mac? I was able to for Linux via their Alpine/MUSL image, but never figured out how to for Mac.
1 comments

Just using Crystal as installed with Homebrew and then running `crystal build --release`. Very simple, see the Github Actions workflow in the repository :)
ah, are these are "standalone" or static binaries with no dependencies then? I think end users may need to have the crystal runtime installed as a dependency.
At the moment they are not static, so on Linux you may need to install a couple of packages depending on your system. I am going to try and compile a static version. On MacOS AFAIK it is not possible to compile a static binary.