Skip to content

Commit

Permalink
Update makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Beastwick18 committed Mar 4, 2024
1 parent a079505 commit c4c41b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ VERSION := $(shell sed -nE 's/^version\s?=\s?"(.*)"/\1/p' Cargo.toml)
none:
@echo 'Explictly select "release" option'

release: win linux
release: linux
@mkdir -p "release/$(VERSION)"
cp "target/$(WINDOWS_TARGET)/release/nyaa.exe" "release/$(VERSION)/nyaa-$(VERSION)-$(WINDOWS_TARGET).exe"
# cp "target/$(WINDOWS_TARGET)/release/nyaa.exe" "release/$(VERSION)/nyaa-$(VERSION)-$(WINDOWS_TARGET).exe"
cp "target/$(LINUX_TARGET)/release/nyaa" "release/$(VERSION)/nyaa-$(VERSION)-$(LINUX_TARGET)"
@echo "\nCommits since last tag:"
@git log $(shell git describe --tags --abbrev=0)..HEAD --oneline
Expand Down

0 comments on commit c4c41b9

Please sign in to comment.