Moved around more code. Implemented more sqlc. Added support to generate swagger.
Added support for profiling. Removed the pkg module altogether. Everything except old sync is now using code generated by sqlc.
This commit is contained in:
8
justfile
8
justfile
@@ -26,10 +26,18 @@ tailwind-linux:
|
||||
@if [ ! -f tailwindcss ]; then curl -sL https://github.com/tailwindlabs/tailwindcss/releases/latest/download/tailwindcss-linux-x64 -o tailwindcss; fi
|
||||
@chmod +x tailwindcss
|
||||
|
||||
sqlc-generate:
|
||||
@sqlc generate
|
||||
|
||||
migrate-create name:
|
||||
@migrate create -ext sql -dir internal/db/migrations -seq {{name}}
|
||||
|
||||
build:
|
||||
@echo "Building..."
|
||||
@sqlc generate
|
||||
@templ generate
|
||||
@./tailwindcss -i cmd/web/assets/css/input.css -o cmd/web/assets/css/output.css
|
||||
@swag init -d ./cmd/,./internal/backend/ -o ./cmd/docs
|
||||
@go build -o main cmd/main.go
|
||||
|
||||
run:
|
||||
|
||||
Reference in New Issue
Block a user