feat: use cmd as main package

This commit is contained in:
Guz
2025-03-07 20:34:31 -03:00
parent 0ae642f17b
commit fc757d36f0
2 changed files with 3 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
package cmd
package main
import (
"context"

View File

@@ -10,8 +10,8 @@ fmt:
dev/server:
go run github.com/joho/godotenv/cmd/godotenv@v1.5.1 \
go run github.com/air-verse/air@v1.52.2 \
--build.cmd "go build -o .tmp/bin/main ." \
--build.bin ".tmp/bin/main" \
--build.cmd "go build -o tmp/bin/main ./cmd" \
--build.bin "tmp/bin/main" \
--build.exclude_dir "node_modules" \
--build.include_ext "go,html" \
--build.stop_on_error "false" \