Skip to content

Commit 1998e56

Browse files
Prepare brew tap
1 parent 7ac0985 commit 1998e56

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

Makefile

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
1+
PREFIX?=/usr/local
2+
13
build:
2-
swift build
4+
swift build -c release --disable-sandbox
35

46
test:
57
swift test --enable-test-discovery
68

7-
install:
8-
swift build -c release
9-
cp -f .build/release/accs /usr/local/bin/.
9+
install: build
10+
mkdir -p "$(PREFIX)/bin"
11+
cp -f ".build/release/accs" "$(PREFIX)/bin/accs"
1012

1113
docker-run-it:
1214
docker run --rm -it \

0 commit comments

Comments
 (0)