aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorMarc Coquand <marc@mccd.space>2024-05-17 16:19:32 -0500
committerMarc Coquand <marc@mccd.space>2024-05-17 16:19:32 -0500
commit51a5f347ea4826c61349c5f0890d7f984c166eac (patch)
tree1702821ca732103b75d8bd53ba5a83bcdbb4e180 /README
parentb6ecaa98c8a07c42f55bb498ebdb8c82873c3b62 (diff)
downloadstitch-0.0.1.tar.gz
stitch-0.0.1.tar.bz2
stitch-0.0.1.zip
Setup everything for static and non-static releasev0.0.1push
Diffstat (limited to '')
-rw-r--r--README11
1 files changed, 7 insertions, 4 deletions
diff --git a/README b/README
index 3f7c386..9f96ede 100644
--- a/README
+++ b/README
@@ -87,6 +87,10 @@ _________________
dune build
+ Optimized build with
+
+ dune build --profile release
+
And to run:
dune exec -- stitch
@@ -95,11 +99,10 @@ _________________
dune exec -- stitch --help=groff
- To prepare for release, we need to statically link the binary, which
- unless you use a musl based distro it will not do out of the box.
+ When the system is built with Nix, it will be dynamically linked.
- There is a Dockerfile included that prepares the release, use it with
- podman:
+ To build a static release, There is a Dockerfile included that
+ compiles it with musl, use it with podman:
podman pull docker.io/alpine:edge
podman build . -t stitch:latest