Skip to content

Commit 96bbeda

Browse files
author
Alex D'Andrea
committed
Add Makefile, README
1 parent e8a151e commit 96bbeda

File tree

3 files changed

+34
-0
lines changed

3 files changed

+34
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
dest

Makefile

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
PACKAGE=github.com/kiesel/wormhole-go/wormhole
2+
3+
install:
4+
go install $(PACKAGE)
5+
6+
dest:
7+
mkdir -p dest/windows dest/linux-amd64 dest/darwin
8+
9+
clean:
10+
rm -rf dest/
11+
12+
build: dest
13+
go build -o dest/wormhole $(PACKAGE)
14+
15+
build-all: build-windows build-darwin build-linux
16+
17+
build-windows: dest
18+
GOOS=windows GOARCH=386 go build -v -o dest/windows/wormhole.exe $(PACKAGE)
19+
20+
build-darwin: dest
21+
GOOS=darwin GOARCH=amd64 go build -v -o dest/darwin/wormhole $(PACKAGE)
22+
23+
build-linux: dest
24+
GOOS=linux GOARCH=amd64 go build -v -o dest/linux-amd64/wormhole $(PACKAGE)

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
Wormhole
2+
=========
3+
4+
Wormhole is a an application that allows to open files from a commandline within a VM in your favorite editor(s) / applications in the host system.
5+
6+
Prerequisites are that:
7+
8+
* the part of the VM filesystem that is hosting the files in question is mounted in your host OS
9+
* you are logging in via SSH (though that limitation is only relevant for the client part.)

0 commit comments

Comments
 (0)