Add Makefile and .gitignore for Go #9
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
|
@ -4,7 +4,7 @@ APP_NAME := testbed2
|
|||
BUILD_DIR := build
|
||||
|
||||
build:
|
||||
go build -o $(BUILD_DIR)/$(APP_NAME) ./cmd/$(APP_NAME)
|
||||
go build -o $(BUILD_DIR)/$(APP_NAME) .
|
||||
|
||||
run: build
|
||||
./$(BUILD_DIR)/$(APP_NAME)
|
||||
|
|
|
|||
Loading…
Reference in a new issue