Skip to content

Commit

Permalink
add make uninstall
Browse files Browse the repository at this point in the history
  • Loading branch information
rohitpaulk committed Nov 1, 2022
1 parent cb5c04d commit e4bdade
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ next_version_number := $(shell echo $$(($(current_version_number)+1)))
install:
go build -o $$GOPATH/bin/codecrafters cmd/codecrafters/main.go

uninstall:
rm $$GOPATH/bin/codecrafters

install_latest_from_github:
curl -Lo $$GOPATH/bin/codecrafters https://github.com/codecrafters-io/cli/releases/download/v$(current_version_number)/v$(current_version_number)_darwin_arm64

Expand Down

0 comments on commit e4bdade

Please sign in to comment.