-
Notifications
You must be signed in to change notification settings - Fork 106
Build instructions
Clark Gaebel edited this page Mar 19, 2022
·
21 revisions
Magic-trace is written in OCaml. It uses opam as its package manager, and dune as its build system.
-
Install opam
bash -c "sh <(curl -fsSL https://raw.githubusercontent.com/ocaml/opam/master/shell/install.sh)"
-
Select the 4.13.1 compiler
opam switch create 4.13.1 4.13.1
-
Add the ability to fetch some extra dependencies
opam repo add janestreet-bleeding https://ocaml.janestreet.com/opam-repository
-
Install dependencies
opam install ./magic-trace.opam --deps-only; opam install ocamlformat
-
Build, test, and autoformat it
dune build @default @runtest @fmt --auto-promote
-
Run it
_build/default/bin/magic_trace_bin.exe -help
-
Hit up the issue tracker to find a bug to work on.