Skip to content

Commit 07c45b2

Browse files
committed
Update build config
1 parent 6a444b8 commit 07c45b2

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

Makefile

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,16 @@ PREFIX?=/usr/local/bin
44
ARCHIVE=$(EXECUTABLE).tar.gz
55

66
.PHONY: clean build release package install uninstall
7-
SRC=$(wildcard Sources/*.swift)
87

98
clean:
109
rm -f $(EXECUTABLE) $(ARCHIVE) _reminders
11-
swift build --clean
10+
swift package clean
1211

13-
build: $(SRC)
12+
build:
1413
swift build
1514

16-
release: clean
17-
swift build \
18-
--configuration release \
19-
-Xswiftc -static-stdlib
15+
release:
16+
swift build --configuration release
2017

2118
package: release
2219
tar -pvczf $(ARCHIVE) -C zsh _reminders -C ../$(RELEASE_BUILD) $(EXECUTABLE)

0 commit comments

Comments
 (0)