chore(dev): move final binary from dist to .dist directory
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -3,5 +3,5 @@
|
||||
node_modules/
|
||||
bin/
|
||||
tmp/
|
||||
dist/
|
||||
.dist/
|
||||
assets/css/uno.css
|
||||
|
||||
4
makefile
4
makefile
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user