Enable build for linux

This commit is contained in:
2024-07-03 13:30:59 +02:00
parent 58cce74ce8
commit 7580ca5399
2 changed files with 3 additions and 1 deletions

1
.gitignore vendored
View File

@@ -1,2 +1,3 @@
main.exe main.exe
main_linux

View File

@@ -1 +1,2 @@
go build main && cp main.exe "/c/Program Files/Git/usr/bin/cln.exe" GOOS=windows GOARCH=amd64 go build -o main.exe main && cp main.exe "/c/Program Files/Git/usr/bin/cln.exe"
GOOS=linux GOARCH=amd64 go build -o main_linux main