diff --git a/.gitignore b/.gitignore index 191bbdb..246d589 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ duetbackup +duetbackup-* diff --git a/compile.fish b/compile.fish new file mode 100755 index 0000000..1785e18 --- /dev/null +++ b/compile.fish @@ -0,0 +1,7 @@ +#!/usr/bin/env fish + +env GOOS=linux GOARCH=arm go build -o duetbackup-linux-arm duetbackup.go +env GOOS=linux GOARCH=arm GOARM=7 go build -o duetbackup-linux-armv7 duetbackup.go +env GOOS=linux go build -o duetbackup-linux_amd64 duetbackup.go +env GOOS=windows go build -o duetbackup-windows_amd64 duetbackup.go +env GOOS=darwin go build -o duetbackup-darwin_amd64 duetbackup.go