Skip to content

Commit a134646

Browse files
committed
Update Makefile
1 parent 27f153d commit a134646

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

Makefile

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.PHONY: build test before_test install clean
1+
.PHONY: build test before_test install clean completion
22
SC=swift
33

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

4140
uninstall:
4241
rm -r $(CONFIGDIR)
4342
rm $(BINARYDIR)/hazel
4443

45-
completion:
46-
which hazel > /dev/null && . "$( hazel initpath )"
47-
4844
clean:
4945
rm -rf .build/
5046
rm -rf xcov_report

0 commit comments

Comments
 (0)