diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 96aedb4..bb9e1b6 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -27,14 +27,6 @@ jobs: go install github.com/goreleaser/nfpm/v2/cmd/nfpm@v2.41.1 echo "$GOPATH/bin" >> $GITHUB_PATH - - name: Debug workspace - run: | - echo "pwd: $(pwd)" - echo "go version: $(go version)" - ls -la - ls -la cmd/ - cat go.mod - - name: Build Linux binaries run: | CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -trimpath -ldflags="-s -w" -o syncwarden ./cmd/syncwarden diff --git a/.gitignore b/.gitignore index 64e23bf..fb9f8db 100644 --- a/.gitignore +++ b/.gitignore @@ -4,9 +4,9 @@ *.dll *.so *.dylib -syncwarden -syncwarden-panel -syncwarden-setup +/syncwarden +/syncwarden-panel +/syncwarden-setup # Build output /dist/ diff --git a/cmd/syncwarden/main.go b/cmd/syncwarden/main.go new file mode 100644 index 0000000..2d44061 --- /dev/null +++ b/cmd/syncwarden/main.go @@ -0,0 +1,9 @@ +package main + +import ( + "git.davoryn.de/calic/syncwarden/internal/tray" +) + +func main() { + tray.Run() +}