Skip to content

Commit

Permalink
Add makefile: I ❤️ Rust and Cargo so much
Browse files Browse the repository at this point in the history
  • Loading branch information
ctron committed Mar 18, 2020
1 parent 17a9efc commit 03b5c76
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
.PHONY: all
all: build

.PHONY: build
build: hot

hot: $(shell find . -name "*.go")
go build -o $@ ./cmd

.PHONY: clean

clean:
-rm hot

.PHONY: test
test:
go vet ./...
go test ./...

0 comments on commit 03b5c76

Please sign in to comment.