Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 18 additions & 3 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,24 @@ go get github.com/mitchellh/gox

godep restore

# Build for mac
# Build for platforms
gox -cgo -osarch="Darwin/amd64" -output="build/darwin/rig"
gox -osarch="Linux/amd64" -output="build/linux/rig"
gox -osarch="Windows/amd64" -output="build/windows/rig"

# Build for windows and linux
gox -osarch="Linux/amd64" -osarch="Windows/amd64" -output="build/{{.OS}}/rig"
# Bundle for GitHub

# Get version
VERSION=`build/darwin/rig --version 2>&1 | grep 'rig version' | awk '{print $3}'`

# Create archives for publishing to github
cp scripts/docker-machine-watch-rsync.sh build/darwin/.
pushd build/darwin
tar czf ../rig-${VERSION}-darwin-amd64.tar.gz rig docker-machine-watch-rsync.sh
popd
pushd build/linux
tar czf ../rig-${VERSION}-linux-amd64.tar.gz rig
popd
pushd build/windows
zip ../rig-${VERSION}-windows-amd64.zip rig.exe
popd
4 changes: 2 additions & 2 deletions scripts/docker-machine-watch-rsync.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ Examples:

> Watch for changes under ~/Projects/supercoolthing/app and rsync them into the Docker Machine named dev

$ docker-machine-watch-rsync -m dev -e .devtools-watch-ignore ~/Projects/supercoolthing/app
$ docker-machine-watch-rsync -m dev -e .rig-watch-ignore ~/Projects/supercoolthing/app

> Watch for changes under ~/Projects/supercoolthing/app excluding the patterns in .devtools-watch-ignore and rsync them into the Docker Machine named dev
> Watch for changes under ~/Projects/supercoolthing/app excluding the patterns in .rig-watch-ignore and rsync them into the Docker Machine named dev

EOF
exit 0
Expand Down
2 changes: 1 addition & 1 deletion start.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ func (cmd *Start) Run(c *cli.Context) error {
dash := Dashboard{}
dash.LaunchDashboard(machine)

out.Info.Println("Your Phase2 Dev Tools VM is ready to use")
out.Info.Println("Outrigger is ready to use")

return nil
}