Skip to content

Commit

Permalink
create brew installer
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Watts committed May 4, 2019
1 parent 8071849 commit dd7aaca
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
.PHONY: all exec test strap straps docs
INSTALL_DIR=/usr/local/bin

.PHONY: all exec install uninstall test strap straps docs

all: exec straps binary docs test

Expand All @@ -21,3 +23,13 @@ straps:

binary:
@./build/binary.sh

install: strapped
@echo "📦 Installing strapped"
@mkdir -p $(INSTALL_DIR)
@cp strapped $(INSTALL_DIR)/strapped
@chmod u+x $(INSTALL_DIR)/strapped

uninstall:
@echo "🗑️ Uninstalling strapped"
@rm $(INSTALL_DIR)/strapped

0 comments on commit dd7aaca

Please sign in to comment.