Skip to content

Commit 48e3ad8

Browse files
authored
Update release scripts (#24)
1 parent 20c81ef commit 48e3ad8

File tree

3 files changed

+3
-67
lines changed

3 files changed

+3
-67
lines changed

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
11
.build
2-
Packages
3-
/reminders
42
reminders.tar.gz

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,11 @@ clean:
1010
swift package clean
1111

1212
release:
13-
swift build --configuration release
13+
swift build --configuration release -Xswiftc -warnings-as-errors
1414

1515
package: release
16-
tar -pvczf $(ARCHIVE) -C zsh _reminders -C ../$(RELEASE_BUILD) $(EXECUTABLE)
16+
$(RELEASE_BUILD)/$(EXECUTABLE) --generate-completion-script zsh > _reminders
17+
tar -pvczf $(ARCHIVE) _reminders -C $(RELEASE_BUILD) $(EXECUTABLE)
1718
tar -zxvf $(ARCHIVE)
1819
@shasum -a 256 $(ARCHIVE)
1920
@shasum -a 256 $(EXECUTABLE)

zsh/_reminders

Lines changed: 0 additions & 63 deletions
This file was deleted.

0 commit comments

Comments
 (0)