summaryrefslogtreecommitdiff
path: root/meson.build
AgeCommit message (Collapse)Author
2026-06-20Add Register()xengineering
This function creates a new user and sets the username and bcrypt-hashed password.
2026-05-31Add migration readingxengineering
This prepares the infrastructure to place migration SQL code in the source repository with paths formatted as `sql/migrations/%04d.sqlite3`. The numbers need to be counting up from 1. They are embedded with Go's embed package and are parsed into a slice of strings where the migration number minus one is the slice index and the value is the migrations file as string. This makes handling of migrations in code as easy as possible. This commit adds also tests for this functionality.
2026-05-23Add `run` targetxengineering
This allows to easily run the server with a single `meson compile -C build run` during development.
2026-05-23Add global Meson build systemxengineering
This commit fully introduces Meson as a build system for this repository. It makes sure the frontend page is built with Hugo before the Go executable is built and embeds the frontend.
2026-05-23frontend: Add Meson build systemxengineering
This is a first step towards using Meson for the whole repository. Having one central build system allows many things like ensuring that the frontend page is build before embedding it into the Go executable or like transpiling TypeScript to JavaScript before building the frontend page.