Danilo Fragoso 7 hónapja
szülő
commit
e530565fd5
2 módosított fájl, 4 hozzáadás és 1 törlés
  1. 4 1
      Makefile
  2. BIN
      bin/pizzasql-linux-amd64

+ 4 - 1
Makefile

@@ -2,7 +2,10 @@
 
 # Build the project
 build:
-	go build -o pizzasql ./main.go
+	go build -o ./bin/pizzasql ./main.go
+
+build-linux-amd64:
+	GOOS=linux GOARCH=amd64 go build -o ./bin/pizzasql-linux-amd64 ./main.go
 
 # Run all tests
 test:

BIN
bin/pizzasql-linux-amd64