initial
This commit is contained in:
24
Makefile
Normal file
24
Makefile
Normal file
@@ -0,0 +1,24 @@
|
||||
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/wnzl-snow -ldflags="-s -w -X version.Value=1.0.0"
|
Reference in New Issue
Block a user