Skip to content

Instantly share code, notes, and snippets.

@basus
Last active December 24, 2016 18:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save basus/cd48c8e4e9d14f853cea4f45f7e0edaf to your computer and use it in GitHub Desktop.
Save basus/cd48c8e4e9d14f853cea4f45f7e0edaf to your computer and use it in GitHub Desktop.
Basic Frenetic Installation script
# This assumes that opam is installed for your platform: http://opam.ocaml.org
# Initialize opam and install the proper compiler
opam init
eval `opam config env`
eval `opam config env`
opam switch install 4.03.0
eval `opam config env`
# Install the frenetic dependecies
opam install ocamlfind oasis core fieldslib cmdliner cstruct \
async_extended async_parallel \
menhir sexplib sedlex ppx_import \
ulex ipaddr tcpip base64 cohttp \
yojson mparser ocamlgraph quickcheck ounit
# Clone the Frenetic repo and build it
cd
mkdir src
cd src
git clone git@github.com:frenetic-lang/frenetic.git
cd frenetic
make
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment