From a740db9bde6f1ad7d6cd5346602fffaddf4bd65e Mon Sep 17 00:00:00 2001 From: jacobogle Date: Sat, 13 Apr 2024 09:03:54 -0400 Subject: [PATCH] updating makefile --- Makefile | 6 +++++- tests/place_holder_test.go | 7 +++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 tests/place_holder_test.go diff --git a/Makefile b/Makefile index 993d69d..621350a 100644 --- a/Makefile +++ b/Makefile @@ -7,11 +7,15 @@ ifeq ($(OS_ARCH), x86_64) endif build: - GOARCH=${OS_ARCH} GOOS=darwin go build -o bin/${BINARY_NAME}-${OS_NAME} + GOARCH=${OS_ARCH} GOOS=${OS_NAME} go build -o bin/${BINARY_NAME}-${OS_NAME} run: build ./bin/${BINARY_NAME}-${OS_NAME} +test: + go test ./tests -v + + clean: go clean rm bin/${BINARY_NAME}-${OS_NAME} \ No newline at end of file diff --git a/tests/place_holder_test.go b/tests/place_holder_test.go new file mode 100644 index 0000000..4878b61 --- /dev/null +++ b/tests/place_holder_test.go @@ -0,0 +1,7 @@ +package tests + +import "testing" + +func TestPlaceholde(t *testing.T) { + t.Log("Tests are running") +}