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:
1 parent
db8214cb02
commit
d653463f58
43 files changed
+947
-1133
No files matched your search
@@ -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