Building

Talks about:
build, and environment
ilo requires a certain set of software installed on your system in order to be built.
Prerequisites
- git to fetch the source code of
ilo
breto Setup
breto installs the JDK, Maven and hugo at the versions named in .breto.edn.
Manual Setup
Without breto, install the following manually:
- Java JDK to compile the code
- Maven to build the project
- hugo in order to create the website
- GraalVM to build a native executable
Building
Using breto
# put the build tools on PATH
$ eval "$(breto env)"
# build website
$ breto run website
# serve website
$ breto run serve
Using Maven
Build the project with Maven:
# build the project
$ mvn verify
# build native executable
$ mvn verify --define skipNativeBuild=false
In case you want to build or work on the website do this:
# build website
$ hugo --minify --printI18nWarnings --printPathWarnings --printUnusedTemplates --source docs
# serve website
$ hugo server --minify --printI18nWarnings --printPathWarnings --printUnusedTemplates --source docs --watch