summary refs log tree commit diff
path: root/pkgs/applications/networking/syncthing/add-stcli-target.patch
blob: 58ac15253aed782fa04268f462527a2fea16efd1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff --git i/build.go w/build.go
index 7d400d6f..1b5e1d25 100644
--- i/build.go
+++ w/build.go
@@ -175,6 +175,12 @@ var targets = map[string]target{
 			{src: "AUTHORS", dst: "deb/usr/share/doc/syncthing-relaypoolsrv/AUTHORS.txt", perm: 0644},
 		},
 	},
+	"stcli": {
+		name:        "stcli",
+		description: "Syncthing CLI",
+		buildPkg:    "github.com/syncthing/syncthing/cmd/stcli",
+		binaryName:  "stcli", // .exe will be added automatically for Windows builds
+	},
 }
 
 func init() {