diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..537895f --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +fenc-linux +fenc-darwin +fenc-windows.exe diff --git a/fenc b/fenc deleted file mode 100755 index 1e95ee4..0000000 Binary files a/fenc and /dev/null differ diff --git a/main.go b/fenc.go similarity index 97% rename from main.go rename to fenc.go index 1545c66..b882add 100644 --- a/main.go +++ b/fenc.go @@ -8,7 +8,7 @@ import ( "golang.org/x/crypto/ssh/terminal" - "gitlab.com/tovijaeschke/FileEncryption/Encryption" + "fenc/Encryption" ) func getPassword() (string, error) { diff --git a/makefile b/makefile new file mode 100644 index 0000000..276fdd8 --- /dev/null +++ b/makefile @@ -0,0 +1,13 @@ +# Fenc Makefile + +default: + $(info build) + $(info clean) + +build: + GOOS=linux GOARCH=amd64 go build -o fenc-linux fenc.go + GOOS=darwin GOARCH=amd64 go build -o fenc-darwin fenc.go + GOOS=windows GOARCH=amd64 go build -o fenc-windows.exe fenc.go + +clean: + rm fenc-linux fenc-darwin fenc-windows.exe