From: Adam Shamblin Date: Mon, 2 Jan 2023 06:34:53 +0000 (-0700) Subject: build for arm7 and amd64 X-Git-Url: https://git.vexinglabs.com/?a=commitdiff_plain;h=a845c60dd59a963fe47a593a40959e9db3bb1aeb;p=dead-tooter.git build for arm7 and amd64 --- diff --git a/.gitignore b/.gitignore index cb223f1..2f7896d 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -foodir/ +target/ diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..ff69679 --- /dev/null +++ b/Makefile @@ -0,0 +1,7 @@ +all: amd64 arm7 + +amd64: + GOOS=linux GOARCH=amd64 go build -o ./target/amd64/ . + +arm7: + GOOS=linux GOARCH=arm GOARM=7 go build -o ./target/arm7/ .