Skip to content
This repository has been archived by the owner on Apr 30, 2021. It is now read-only.

Commit

Permalink
add make file
Browse files Browse the repository at this point in the history
  • Loading branch information
wendyliga committed Mar 29, 2020
1 parent abc7cea commit 77e6aba
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions MakeFile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
prefix ?= /usr/local
bindir = $(prefix)/bin

build:
swift build -c release --disable-sandbox

install: build
install ".build/release/mimiq" "$(bindir)"

uninstall:
rm -rf "$(bindir)/mimiq"

clean:
rm -rf .build

.PHONY: build install uninstall clean

0 comments on commit 77e6aba

Please sign in to comment.