chore(dev): move final binary from dist to .dist directory

This commit is contained in:
Guz
2024-10-15 15:33:16 -03:00
parent 35dbf51fb0
commit 5157deda2a
2 changed files with 3 additions and 3 deletions

2
.gitignore vendored
View File

@@ -3,5 +3,5 @@
node_modules/
bin/
tmp/
dist/
.dist/
assets/css/uno.css

View File

@@ -52,7 +52,7 @@ build/templ:
go run github.com/a-h/templ/cmd/templ@v0.2.707 generate
build/app:
go build -o dist/app .
go build -o ./.dist/app .
build/assets:
npx unocss
@@ -60,7 +60,7 @@ build/assets:
build: build/templ build/assets build/app
run: build
./dist/app
./.dist/app
clean:
if [[ -d "dist" ]]; then rm -r ./dist; fi