Skip to content

Commit

Permalink
Merge pull request #16 from /issues/8-add-to-homebrew
Browse files Browse the repository at this point in the history
Add Makefile
  • Loading branch information
ScottRobbins authored Sep 16, 2019
2 parents fe84fac + 852c638 commit 10a4a72
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 6 deletions.
14 changes: 14 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
prefix ?= /usr/local
bindir = $(prefix)/bin

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

install: build
install ".build/x86_64-apple-macosx/release/hoard" "$(bindir)"

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

clean:
rm -rf .build
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ A simple tool to allow backing up files to a git repository and keeping them in
To build and install locally:

```console
$ ./install_release.sh
$ make install
```

### Usage
Expand Down
5 changes: 0 additions & 5 deletions install_release.sh

This file was deleted.

0 comments on commit 10a4a72

Please sign in to comment.