From f06fda3c252260236eb690d2df129a3e674ee76a Mon Sep 17 00:00:00 2001 From: John Sundell Date: Wed, 15 Mar 2017 23:30:33 +0100 Subject: [PATCH] Live: Add Makefile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When using ‘make’ in HubLive’s folder, it simply gets built using the Swift Package Manager, and moved to usr/local/bin. --- live/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 live/Makefile diff --git a/live/Makefile b/live/Makefile new file mode 100644 index 00000000..f6094e12 --- /dev/null +++ b/live/Makefile @@ -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)