Skip to content

Commit

Permalink
add makefiel
Browse files Browse the repository at this point in the history
  • Loading branch information
jvautier committed Sep 9, 2020
1 parent 405323e commit 04e6cac
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 = code-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 04e6cac

Please sign in to comment.