racket-static/README.md

27 lines
698 B
Markdown

# racket-static
a base set of scripts that let you build fully self-contained static binaries for racket
applications. this is better than raco exe/raco dist because that tooling can generate distribution
folders that still depend on dynamic libraries the target system might not have, and it's also a
whole folder instead of one easily distributable file
## dependencies
- systemd-nspawn (containers!)
- sudo (for running the above)
- rsync (copying files into container)
- wget (downloading stuff)
## hello world demo
first time you run make it'll take a while. be patient. having more cores helps
```
make
./run
```
## references
<https://docs.racket-lang.org/inside/embedding.html>