Use Makefile, update packages

This commit is contained in:
Jacob Gunther
2022-07-22 22:59:12 -05:00
parent 57b8b17e42
commit 71d16972a6
4 changed files with 25 additions and 6 deletions

13
Makefile Normal file
View File

@@ -0,0 +1,13 @@
build:
go build -o bin/main src/*.go
build-linux:
GOOS=linux go build -o bin/main src/*.go
build-windows:
GOOS=linux go build -p bin/main src/*.go
run:
go run src/*.go
all: build