Skip to content
This repository has been archived by the owner on Jan 17, 2019. It is now read-only.

Commit

Permalink
Live: Add Makefile
Browse files Browse the repository at this point in the history
When using ‘make’ in HubLive’s folder, it simply gets built using the
Swift Package Manager, and moved to usr/local/bin.
  • Loading branch information
JohnSundell committed Mar 15, 2017
1 parent f4b5a67 commit f06fda3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions live/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
INSTALL_PATH = /usr/local/bin/hublive

install:
swift build -c release -Xswiftc -static-stdlib
cp -f .build/release/hublive $(INSTALL_PATH)

uninstall:
rm -f $(INSTALL_PATH)

0 comments on commit f06fda3

Please sign in to comment.