move main.go out to root

This commit is contained in:
jc 2024-03-25 00:23:09 -04:00
commit 7108cce096
No known key found for this signature in database
3 changed files with 2 additions and 2 deletions

View file

@ -5,7 +5,7 @@ tmp_dir = "tmp"
[build] [build]
args_bin = [] args_bin = []
bin = "./tmp/main" bin = "./tmp/main"
cmd = "go build -o ./tmp/main cmd/main.go" cmd = "go build -o ./tmp/main ./main.go"
delay = 1000 delay = 1000
exclude_dir = ["node_modules", "assets", "tmp", "vendor", "testdata"] exclude_dir = ["node_modules", "assets", "tmp", "vendor", "testdata"]
exclude_file = [] exclude_file = []

View file

@ -7,7 +7,7 @@ build-css:
# build Go application # build Go application
build-go: build-go:
go build -o ./build/potoforio ./cmd/main.go go build -o ./build/potoforio ./main.go
# cleans up prod css # cleans up prod css
clean-css: clean-css: