wrote 'make opame.dependencies'

This commit is contained in:
Stavros Polymenis 2016-11-26 19:12:07 +00:00
parent 3ef61c2f42
commit f767cb2af0
2 changed files with 7 additions and 1 deletions

View File

@ -3,6 +3,9 @@ OCB = ocamlbuild $(OCB_FLAGS)
PKGS = toml,uuidm,omd,str,batteries,lens,lwt,ptime,ptime.clock.os,re.str,lens.ppx_deriving
WEB_PKGS = $(PKGS),opium.unix,tyxml,mustache
CMD_PKGS = $(PKGS),cmdliner
comma:= ,
empty:=
space:= $(empty) $(empty)
all: cmd web
@ -20,6 +23,9 @@ style:
doc_html:
$(OCB) doc/logarion.docdir/index.html -pkgs $(PKGS)
opam.dependencies:
opam install toml uuidm omd batteries lens lwt ptime ptime re lens opium tyxml mustache cmdliner
clean:
$(OCB) -clean
rm -f src/*.{cmx,cmi,o} *.{cmx,cmi,o}

View File

@ -29,9 +29,9 @@ There are two publishing modes:
Make sure you have OCaml >= 4.03.
All requirements are available for automatic installation via [OPAM](https://opam.ocaml.org/)
opam install batteries lens mustache omd opium ppx_deriving ptime re toml tyxml uuidm
git clone git@github.com:orbifx/logarion.git
cd logarion
make opam.dependencies
make
Optionally install a [sass](http://sass-lang.com/) compiler, like [sassc](http://sass-lang.com/libsass#sassc), and then run `make style` will generate a stylesheet in `share/static/main.css`, using `share/sass/main.sass`.