docs: update contributing

This commit is contained in:
Stavros
2025-03-10 18:47:54 +02:00
parent ec67ea3807
commit 9dd9829058
5 changed files with 38 additions and 31 deletions

View File

@@ -2,6 +2,11 @@
web:
cd site; bun run build
# Requirements
requirements:
cd site; bun install
go mod tidy
# Copy site assets
assets: web
rm -rf internal/assets/dist
@@ -12,6 +17,10 @@ assets: web
run: assets
go run main.go
# Run development binary without compiling the frontend
run-skip-web:
go run main.go
# Test
test:
go test ./...
@@ -20,6 +29,6 @@ test:
build: assets
go build -o tinyauth
# Build no site
# Build the binary without compiling the frontend
build-skip-web:
go build -o tinyauth