25 lines
723 B
Makefile
25 lines
723 B
Makefile
format-templ:
|
|
@echo "Formatting templ files..."
|
|
@templ fmt .
|
|
generate-templ:
|
|
@echo "Generating templ files..."
|
|
@templ generate -path ./components
|
|
generate-templ-watch:
|
|
@echo "Generating templ files..."
|
|
@templ generate -path ./components -watch
|
|
generate-tailwind:
|
|
@echo "Generating tailwind files..."
|
|
@tailwindcss -i ./styles/input.css -o ./dist/assets/css/output@dev.css
|
|
generate-tailwind-watch:
|
|
@echo "Generating tailwind files..."
|
|
@tailwindcss -i ./styles/input.css -o ./dist/assets/css/output@dev.css --watch
|
|
generate-sql:
|
|
@echo "Generating sqlc ..."
|
|
@sqlc generate
|
|
run:
|
|
@echo "Running..."
|
|
@go run main.go
|
|
build:
|
|
@echo "Building..."
|
|
@go build -o ./build/mocksnow -ldflags="-s -w -X version.Value=1.0.0"
|