[go: up one dir, main page]

Skip to content
/ booba Public

After paying tribute to Hugo and Zola, the great family of static blog generators pays tribute to another great poet of the 21st Century. Often compared to Céline, and I quote, "if you ignore the form".. lol.

License

Notifications You must be signed in to change notification settings

xhtmlboi/booba

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

booba

A turnkey static blog generator based on YOCaml

After paying tribute to Hugo and Zola, the great family of static blog generators pays tribute to another great poet of the 21st Century. Often compared to Céline, and I quote, "if you ignore the form".

Setup

Even though the purpose of booba is to provide a binary buried in a file tree, its installation is relatively simple for someone who is familiar with the OCaml ecosystem.

One approach is to use a local swtich to locate all dependencies in the _opam directory at the root of the project.

Building with OPAM by hand

# opam switch create . ocaml-base-compiler.4.13. -y
# opam install . --deps-only --with-doc --with-test -y
# opam install yocaml -y
# opam install yocaml_unix yocaml_yaml yocaml_markdown yocaml_jingoo -y

And if you want to modify the source code, here is what I personally use:

# opam install dune merlin ocamlformat ocp-indent -y

When this is done, you can simply test that the project compiles by running dune build.

Using make

Essentially out of laziness, the project comes with a Makefile which has two, among others, rules make deps and make dev-deps (dev-deps will install merlin, dune, ocamlformat and ocp-indent), It is therefore possible to reproduce the previous session in this way:

# opam switch create . ocaml-base-compiler.4.13. -y
# make deps
# make dev-deps

About

After paying tribute to Hugo and Zola, the great family of static blog generators pays tribute to another great poet of the 21st Century. Often compared to Céline, and I quote, "if you ignore the form".. lol.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published