Skip to content

Commit

Permalink
[NEW] add script to build and install plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
HappyTobi committed Jun 18, 2019
1 parent 6ba29f7 commit 7bf9a31
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions scripts/build-install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/bash

set -e

SANDBOX=$(mktemp -d)

echo "building os x..."
CGO_ENABLED=0 GOARCH=amd64 GOOS=darwin go build -o $SANDBOX/cf-puppeteer-darwin github.com/happytobi/cf-puppeteer

echo
echo "binaries are in $SANDBOX"

cf install-plugin -f $SANDBOX/cf-puppeteer-darwin

0 comments on commit 7bf9a31

Please sign in to comment.