Skip to content

Commit

Permalink
Update Makefile and gitignore.
Browse files Browse the repository at this point in the history
  • Loading branch information
stefansundin committed Jun 19, 2019
1 parent e1ee10f commit bfcc92e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ terraform-open-ssh-tunnels/terraform-open-ssh-tunnels
terraform-open-ssh-tunnels/terraform-open-ssh-tunnels.exe
/terraform-open-ssh-tunnels_*
/release
/vendor
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ linux_arm64: export GOARCH=arm64
darwin: export GOOS=darwin
windows: export GOOS=windows

.PHONY: all linux linux_arm linux_arm64 darwin windows clean

all: linux linux_arm linux_arm64 darwin windows

linux:
Expand Down Expand Up @@ -52,7 +54,6 @@ windows:
go build $(LDFLAGS) -o terraform-open-ssh-tunnels/terraform-open-ssh-tunnels.exe terraform-open-ssh-tunnels/main.go
(cd terraform-open-ssh-tunnels && zip ../release/terraform-open-ssh-tunnels_${VERSION}_${GOOS}_${GOARCH}.zip terraform-open-ssh-tunnels.exe)

.PHONY: clean
clean:
rm -rf release
rm -f terraform-provider-ssh terraform-provider-ssh.exe terraform-open-ssh-tunnels/terraform-open-ssh-tunnels terraform-open-ssh-tunnels/terraform-open-ssh-tunnels.exe terraform-provider-ssh_${VERSION} terraform-provider-ssh_${VERSION}.exe

0 comments on commit bfcc92e

Please sign in to comment.