Add template scaffolding
This commit is contained in:
commit
1f31615620
10 changed files with 205 additions and 0 deletions
28
justfile
Normal file
28
justfile
Normal 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 .
|
Loading…
Add table
Add a link
Reference in a new issue