#!/usr/bin/env bash
## Description: Build the gitea backend binary inside the web container
## Usage: build-gitea
## Example: ddev build-gitea

set -eu
cd /var/www/html
echo "Building gitea backend (cgo, sqlite + sqlite_unlock_notify tags)..."
make backend
echo "Done. Restart the daemon: ddev restart"
