Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
KingLeak95 committed Nov 1, 2023
1 parent bd1cb43 commit 9f65124
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,19 @@
.PHONY: run
BINARY_NAME=to-do-list.out

run:
go run main.go
all: run

run: build
./${BINARY_NAME}

test:
go test -v main.go

build:
go build -o ${BINARY_NAME} main.go

docker:
docker build -t to-do-list .

clean:
go clean
rm ${BINARY_NAME}

0 comments on commit 9f65124

Please sign in to comment.