Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
pkrll committed Jun 15, 2018
1 parent 27f153d commit a134646
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: build test before_test install clean
.PHONY: build test before_test install clean completion
SC=swift

CONFIGDIR=~/.hazel
Expand Down Expand Up @@ -34,17 +34,13 @@ install:
$(SC) build --configuration release -Xswiftc -static-stdlib
mkdir -p $(CONFIGDIR)
cd .assets && cp -r templates $(CONFIGDIR)
cd .assets && cp -r scripts/completion $(CONFIGDIR)/scripts
cd .assets/scripts && cp -r completion $(CONFIGDIR)
cp -f $(RELEASEDIR)/Hazel $(BINARYDIR)/hazel
which hazel > /dev/null && . "$( hazel initpath )"

uninstall:
rm -r $(CONFIGDIR)
rm $(BINARYDIR)/hazel

completion:
which hazel > /dev/null && . "$( hazel initpath )"

clean:
rm -rf .build/
rm -rf xcov_report
Expand Down

0 comments on commit a134646

Please sign in to comment.