Skip to content

Commit

Permalink
Added osx arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
Norman Abramovitz committed Sep 1, 2022
1 parent 5d0d972 commit 332a8d3
Show file tree
Hide file tree
Showing 9 changed files with 164 additions and 50 deletions.
Binary file modified bin/linux64/cf-targets-plugin
Binary file not shown.
Binary file added bin/osx-amd64/cf-targets-plugin
Binary file not shown.
Binary file added bin/osx-arm64/cf-targets-plugin
Binary file not shown.
Binary file removed bin/osx/cf-targets-plugin
Binary file not shown.
Binary file modified bin/win64/cf-targets-plugin.exe
Binary file not shown.
14 changes: 10 additions & 4 deletions build-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,23 @@ mkdir -p bin/linux64
mv cf-targets-plugin bin/linux64

GOOS=darwin GOARCH=amd64 go build
OSX_SHA1=`cat cf-targets-plugin | openssl sha1`
mkdir -p bin/osx
mv cf-targets-plugin bin/osx
OSX_AMD64_SHA1=`cat cf-targets-plugin | openssl sha1`
mkdir -p bin/osx-amd64
mv cf-targets-plugin bin/osx-amd64

GOOS=darwin GOARCH=arm64 go build
OSX_ARM64_SHA1=`cat cf-targets-plugin | openssl sha1`
mkdir -p bin/osx-arm64
mv cf-targets-plugin bin/osx-arm64/cf-targets-plugin

GOOS=windows GOARCH=amd64 go build
WIN64_SHA1=`cat cf-targets-plugin.exe | openssl sha1`
mkdir -p bin/win64
mv cf-targets-plugin.exe bin/win64

cat repo-index.yml |
sed "s/osx-sha1/$OSX_SHA1/" |
sed "s/osx-amd64-sha1/$OSX_AMD64_SHA1/" |
sed "s/osx-arm64-sha1/$OSX_ARM64_SHA1/" |
sed "s/win64-sha1/$WIN64_SHA1/" |
sed "s/linux64-sha1/$LINUX64_SHA1/" |
sed "s/_TAG_/$TAG/" |
Expand Down
63 changes: 38 additions & 25 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,46 +1,59 @@
module github.com/guidowb/cf-targets-plugin

go 1.12
go 1.19

require (
github.com/cloudfoundry/cli v6.46.0+incompatible
github.com/onsi/ginkgo v1.16.4
github.com/onsi/gomega v1.20.2
)

require (
code.cloudfoundry.org/bytefmt v0.0.0-20190710193110-1eb035ffe2b6 // indirect
code.cloudfoundry.org/cli v6.46.0+incompatible // indirect
code.cloudfoundry.org/gofileutils v0.0.0-20170111115228-4d0c80011a0f
github.com/SermoDigital/jose v0.0.0-20161205225155-2bd9b81ac51d
github.com/blang/semver v3.1.0+incompatible
code.cloudfoundry.org/gofileutils v0.0.0-20170111115228-4d0c80011a0f // indirect
code.cloudfoundry.org/ykk v0.0.0-20170424192843-e4df4ce2fd4d // indirect
github.com/SermoDigital/jose v0.0.0-20161205225155-2bd9b81ac51d // indirect
github.com/apoydence/eachers v0.0.0-20181020210610-23942921fe77 // indirect
github.com/blang/semver v3.1.0+incompatible // indirect
github.com/bmatcuk/doublestar v1.1.5 // indirect
github.com/bmizerany/pat v0.0.0-20160217103242-c068ca2f0aac
github.com/bmizerany/pat v0.0.0-20160217103242-c068ca2f0aac // indirect
github.com/charlievieth/fs v0.0.0-20170613215519-7dc373669fa1 // indirect
github.com/cloudfoundry-incubator/cli-plugin-repo v0.0.0-20170127230318-62545a44009b
github.com/cloudfoundry/bosh-cli v6.0.0+incompatible // indirect
github.com/cloudfoundry/bosh-utils v0.0.0-20190813211102-4d0b7c5acdfd // indirect
github.com/cloudfoundry/cli v6.46.0+incompatible
github.com/cloudfoundry/cli-plugin-repo v0.0.0-20190808155747-f1af6115b6ff // indirect
github.com/cloudfoundry/go-ccapi v0.0.0-20170111115350-71998966d470
github.com/cloudfoundry/noaa v0.0.0-20170131060151-9e087230f2fe
github.com/cloudfoundry/sonde-go v0.0.0-20170118225207-78019103037a
github.com/cloudfoundry/noaa v0.0.0-20170131060151-9e087230f2fe // indirect
github.com/cloudfoundry/sonde-go v0.0.0-20170118225207-78019103037a // indirect
github.com/cppforlife/go-patch v0.2.0 // indirect
github.com/cyphar/filepath-securejoin v0.2.2 // indirect
github.com/fatih/color v0.0.0-20150823214434-76d423163af7
github.com/gogo/protobuf v0.0.0-20170125171659-fb8a359905af
github.com/google/go-querystring v0.0.0-20170111101155-53e6ce116135
github.com/gorilla/websocket v0.0.0-20151216051058-3986be78bf85
github.com/elazarl/goproxy v0.0.0-20220529153421-8ea89ba92021 // indirect
github.com/elazarl/goproxy/ext v0.0.0-20220529153421-8ea89ba92021 // indirect
github.com/fatih/color v0.0.0-20150823214434-76d423163af7 // indirect
github.com/fsnotify/fsnotify v1.4.9 // indirect
github.com/gogo/protobuf v0.0.0-20170125171659-fb8a359905af // indirect
github.com/google/go-cmp v0.5.8 // indirect
github.com/google/go-querystring v0.0.0-20170111101155-53e6ce116135 // indirect
github.com/gorilla/websocket v0.0.0-20151216051058-3986be78bf85 // indirect
github.com/konsorten/go-windows-terminal-sequences v1.0.1 // indirect
github.com/kr/pty v1.1.8 // indirect
github.com/lunixbochs/vtclean v1.0.0 // indirect
github.com/mattn/go-colorable v0.0.7
github.com/mattn/go-isatty v0.0.0-20150814002629-7fcbc72f853b
github.com/mattn/go-colorable v0.0.7 // indirect
github.com/mattn/go-isatty v0.0.0-20150814002629-7fcbc72f853b // indirect
github.com/mattn/go-runewidth v0.0.4 // indirect
github.com/nicksnyder/go-i18n v0.0.0-20170120160056-64786dc4f56b
github.com/onsi/ginkgo v0.0.0-20170126062008-bb93381d543b
github.com/onsi/gomega v0.0.0-20160705151310-82a02eccf12c
github.com/nu7hatch/gouuid v0.0.0-20131221200532-179d4d0c4d8d // indirect
github.com/nxadm/tail v1.4.8 // indirect
github.com/pkg/errors v0.8.1 // indirect
github.com/shiena/ansicolor v0.0.0-20151119151921-a422bbe96644 // indirect
github.com/sirupsen/logrus v1.4.2 // indirect
github.com/tedsuo/rata v1.0.0
github.com/tedsuo/rata v1.0.0 // indirect
github.com/vito/go-interact v1.0.0 // indirect
golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3
golang.org/x/sys v0.0.0-20190422165155-953cdadca894
golang.org/x/text v0.3.2 // indirect
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 // indirect
golang.org/x/net v0.0.0-20220722155237-a158d28d115b // indirect
golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f // indirect
golang.org/x/text v0.3.7 // indirect
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
gopkg.in/cheggaaa/pb.v1 v1.0.28 // indirect
gopkg.in/yaml.v2 v2.0.0-20151201162745-f7716cbe52ba
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect
gopkg.in/yaml.v2 v2.3.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
Loading

0 comments on commit 332a8d3

Please sign in to comment.