Statically compile templates in the final binary #84

Merged
konrad merged 8 commits from feature/static-templates into master 2019-07-11 19:10:42 +00:00
1 changed files with 9 additions and 0 deletions
Showing only changes of commit 37daad936e - Show all commits

View File

@ -22,6 +22,7 @@ These tasks are automatically run in our CI every time someone pushes to master
* `make ineffassign-check`
* `make misspell-check`
* `make goconst-check`
* `make generate`
* `make build`
### clean
@ -64,6 +65,14 @@ make build
Builds a `vikunja`-binary in the root directory of the repo for the platform it is run on.
### Statically compile all templates into the binary
{{< highlight bash >}}
make generate
{{< /highlight >}}
This generates static code with all templates, meaning no template need to be referenced at runtime.
### Compress the built binary
{{< highlight bash >}}