fix: taskfile
This commit is contained in:
12
Taskfile.yml
12
Taskfile.yml
@@ -3,11 +3,23 @@ version: "3"
|
|||||||
method: checksum
|
method: checksum
|
||||||
|
|
||||||
vars:
|
vars:
|
||||||
|
# Go binary
|
||||||
GO_CMD:
|
GO_CMD:
|
||||||
sh: command -v go >/dev/null 2>&1 && echo "go"
|
sh: command -v go >/dev/null 2>&1 && echo "go"
|
||||||
|
|
||||||
|
# Go build flags
|
||||||
GO_FLAGS: '-ldflags="-s -w"'
|
GO_FLAGS: '-ldflags="-s -w"'
|
||||||
|
|
||||||
|
# Server binary name
|
||||||
|
SERVER_BINARY: server
|
||||||
|
|
||||||
|
# Frontend binary name
|
||||||
|
FRONTEND_BINARY: frontend
|
||||||
|
|
||||||
|
# File extension
|
||||||
|
EXT: "{{ if eq .OS "windows" }}.exe{{ end }}"
|
||||||
|
|
||||||
|
# Tailwind binary
|
||||||
TAILWIND_CMD: "tailwindcss"
|
TAILWIND_CMD: "tailwindcss"
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
|
|||||||
Reference in New Issue
Block a user