Fix the makefile for deploy on linux.
This commit is contained in:
parent
592e1c4fd8
commit
685e227f96
2 changed files with 6 additions and 55 deletions
7
Makefile
7
Makefile
|
@ -9,7 +9,7 @@ build: build_bot
|
|||
go build .
|
||||
|
||||
build_bot:
|
||||
go build -o bot.exe .\tools\cmd\bot\bot.go
|
||||
go build -o bot$(GO_IS_STUPID_EXE) ./tools/cmd/bot/bot.go
|
||||
|
||||
site:
|
||||
go tool ssgod
|
||||
|
@ -37,6 +37,11 @@ docs:
|
|||
tailwind:
|
||||
tailwindcss --input ./static/input_style.css --output ./static/style.css --watch
|
||||
|
||||
tailwind_install:
|
||||
curl -LO https://github.com/tailwindlabs/tailwindcss/releases/download/v4.1.12/tailwindcss-linux-x64
|
||||
chmod oug+x tailwindcss-linux-x64
|
||||
sudo mv tailwindcss-linux-x64 /usr/local/bin/tailwindcss
|
||||
|
||||
dev:
|
||||
go tool air -build.stop_on_error "true"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue