Skip to content

Commit

Permalink
updating makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobOgle committed Apr 13, 2024
1 parent 53c5dbb commit a740db9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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}
7 changes: 7 additions & 0 deletions tests/place_holder_test.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package tests

import "testing"

func TestPlaceholde(t *testing.T) {
t.Log("Tests are running")
}

0 comments on commit a740db9

Please sign in to comment.