Initial commit

This commit is contained in:
Patagia 2024-10-20 17:29:28 +00:00 committed by Patagia
commit 7b273c7245
Signed by: forgejo
GPG key ID: FBECE3CF2ACD1078
10 changed files with 207 additions and 0 deletions

28
justfile Normal file
View file

@ -0,0 +1,28 @@
set shell := ["/usr/bin/env", "bash", "-euo", "pipefail", "-c"]
[private]
default:
@just --choose
# Run all tests
test:
nix flake check
# Lint all source code
lint:
echo FIXME: Add linter(s) here
# Format all source code
fmt:
echo FIXME: Add formatter here
# Update all dependencies
update: update-nix-pkgs
# Update nix flake packages
update-nix-pkgs:
nix flake update
# Run local development
dev $OTEL_SERVICE_NAME="my-project":
watchexec --clear --restart --stop-signal INT --debounce 300ms -- nix run .