Skip to content

Commit

Permalink
add makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
jvautier committed Sep 9, 2020
1 parent 611ae06 commit 2d03e6a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
CLI_NAME = kv-cli

install: uninstall
sudo cp ./$(CLI_NAME) /usr/bin/$(CLI_NAME)
sudo chmod +x /usr/bin/$(CLI_NAME)

install-dev: uninstall
sudo ln -s $(PWD)/$(CLI_NAME) /usr/bin/$(CLI_NAME)
sudo chmod +x /usr/bin/$(CLI_NAME)

uninstall:
sudo rm -f /usr/bin/$(CLI_NAME)

0 comments on commit 2d03e6a

Please sign in to comment.