mirror of
https://github.com/octoleo/syncthing.git
synced 2024-12-22 19:08:58 +00:00
Build for Solaris
This commit is contained in:
parent
b2f66cfb60
commit
5a2328d9a5
2
build.sh
2
build.sh
@ -121,7 +121,7 @@ case "$1" in
|
||||
godep go build ./cmd/stpidx
|
||||
godep go build ./cmd/stcli
|
||||
|
||||
for os in darwin-amd64 linux-386 linux-amd64 freebsd-amd64 windows-amd64 windows-386 ; do
|
||||
for os in darwin-amd64 linux-386 linux-amd64 freebsd-amd64 windows-amd64 windows-386 solaris-amd64 ; do
|
||||
export GOOS=${os%-*}
|
||||
export GOARCH=${os#*-}
|
||||
|
||||
|
@ -2,6 +2,8 @@
|
||||
// Use of this source code is governed by an MIT-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// +build !solaris
|
||||
|
||||
package main
|
||||
|
||||
import (
|
||||
|
7
cmd/syncthing/upgrade_solaris.go
Normal file
7
cmd/syncthing/upgrade_solaris.go
Normal file
@ -0,0 +1,7 @@
|
||||
package main
|
||||
|
||||
import "errors"
|
||||
|
||||
func upgrade() error {
|
||||
return errors.New("Upgrade currently unsupported on Solaris")
|
||||
}
|
Loading…
Reference in New Issue
Block a user