Fix .gitignore ignoring cmd/syncwarden directory
All checks were successful
Release / build (push) Successful in 1m9s
All checks were successful
Release / build (push) Successful in 1m9s
The pattern 'syncwarden' matched cmd/syncwarden/ too. Anchor binary patterns to repo root with leading slash. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -27,14 +27,6 @@ jobs:
|
|||||||
go install github.com/goreleaser/nfpm/v2/cmd/nfpm@v2.41.1
|
go install github.com/goreleaser/nfpm/v2/cmd/nfpm@v2.41.1
|
||||||
echo "$GOPATH/bin" >> $GITHUB_PATH
|
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
|
- name: Build Linux binaries
|
||||||
run: |
|
run: |
|
||||||
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -trimpath -ldflags="-s -w" -o syncwarden ./cmd/syncwarden
|
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -trimpath -ldflags="-s -w" -o syncwarden ./cmd/syncwarden
|
||||||
|
|||||||
6
.gitignore
vendored
6
.gitignore
vendored
@@ -4,9 +4,9 @@
|
|||||||
*.dll
|
*.dll
|
||||||
*.so
|
*.so
|
||||||
*.dylib
|
*.dylib
|
||||||
syncwarden
|
/syncwarden
|
||||||
syncwarden-panel
|
/syncwarden-panel
|
||||||
syncwarden-setup
|
/syncwarden-setup
|
||||||
|
|
||||||
# Build output
|
# Build output
|
||||||
/dist/
|
/dist/
|
||||||
|
|||||||
9
cmd/syncwarden/main.go
Normal file
9
cmd/syncwarden/main.go
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"git.davoryn.de/calic/syncwarden/internal/tray"
|
||||||
|
)
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
tray.Run()
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user