Skip to content

Commit

Permalink
Update release scripts (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
keith authored Nov 14, 2020
1 parent 20c81ef commit 48e3ad8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 67 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
.build
Packages
/reminders
reminders.tar.gz
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@ clean:
swift package clean

release:
swift build --configuration release
swift build --configuration release -Xswiftc -warnings-as-errors

package: release
tar -pvczf $(ARCHIVE) -C zsh _reminders -C ../$(RELEASE_BUILD) $(EXECUTABLE)
$(RELEASE_BUILD)/$(EXECUTABLE) --generate-completion-script zsh > _reminders
tar -pvczf $(ARCHIVE) _reminders -C $(RELEASE_BUILD) $(EXECUTABLE)
tar -zxvf $(ARCHIVE)
@shasum -a 256 $(ARCHIVE)
@shasum -a 256 $(EXECUTABLE)
Expand Down
63 changes: 0 additions & 63 deletions zsh/_reminders

This file was deleted.

0 comments on commit 48e3ad8

Please sign in to comment.