2
build.sh
2
build.sh
@@ -121,7 +121,7 @@ case "$1" in
|
|||||||
godep go build ./discover/cmd/discosrv
|
godep go build ./discover/cmd/discosrv
|
||||||
godep go build ./cmd/stpidx
|
godep go build ./cmd/stpidx
|
||||||
godep go build ./cmd/stcli
|
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 ; do
|
||||||
export GOOS=${os%-*}
|
export GOOS=${os%-*}
|
||||||
export GOARCH=${os#*-}
|
export GOARCH=${os#*-}
|
||||||
|
|||||||
@@ -2,8 +2,6 @@
|
|||||||
// Use of this source code is governed by an MIT-style license that can be
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
// found in the LICENSE file.
|
// found in the LICENSE file.
|
||||||
|
|
||||||
// +build !solaris
|
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@@ -1,7 +0,0 @@
|
|||||||
package main
|
|
||||||
|
|
||||||
import "errors"
|
|
||||||
|
|
||||||
func upgrade() error {
|
|
||||||
return errors.New("Upgrade currently unsupported on Solaris")
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user