Building
Talks about:
<a class="post-tag post-tag-build" href="/tags/build">build</a>, and <a class="post-tag post-tag-environment" href="/tags/environment">environment</a>
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
ilo Setup
You can use ilo
to build ilo
! Make sure your system has the following:
- ilo to open the reproducible build environment for
ilo
itself - One of the runtimes that
ilo shell
supports.
Manual Setup
In case you do not have ilo
installed on your system, 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 ilo
In case you have ilo
installed, call this:
# open a shell with a pre-defined build environment
$ ilo @dev/env
# build the project
$ ilo @dev/build
# build native executable
$ ilo @dev/native
# build website
$ ilo @dev/website
# serve website
$ ilo @dev/serve
Without ilo
In order to build ilo
without having ilo
installed call:
# 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