Skip to content

Commit

Permalink
updating tags and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Felipe da Veiga Leprevost committed Dec 2, 2022
1 parent 2b372fb commit f2a5743
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
21 changes: 12 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ VERSION = $(shell date +%Y%m%d)
BUILD = $(shell date +%Y%m%d%H%M)

TAG = v4.6.0
RC = RC-1

LDFLAGS = -ldflags "-w -s -extldflags -static -X main.version=${TAG} -X main.build=${BUILD}"

Expand Down Expand Up @@ -49,23 +50,25 @@ test:

.PHONY: rc
rc:
env CGO_ENABLED=0 gox -os="linux" ${LDFLAGS} -arch=amd64 -output philosopher-${TAG}-RC
env CGO_ENABLED=0 gox -os="windows" ${LDFLAGS} -arch=amd64 -output philosopher-${TAG}-RC
mv philosopher-${TAG}-RC ~/bin/
mv philosopher-${TAG}-RC.exe ~/bin/
env CGO_ENABLED=0 gox -os="linux" ${LDFLAGS} -arch=amd64 -output philosopher-${TAG}-${RC}
env CGO_ENABLED=0 gox -os="windows" ${LDFLAGS} -arch=amd64 -output philosopher-${TAG}-${RC}
mv philosopher-${TAG}-${RC} ~/bin/
mv philosopher-${TAG}-${RC}.exe ~/bin/

.PHONY: linux
linux:
env CGO_ENABLED=0 gox -os="linux" ${LDFLAGS} -arch=amd64 -output philosopher
env CGO_ENABLED=0 gox -os="linux" ${LDFLAGS} -arch=amd64 -output philosopher-${TAG}
mv philosopher-${TAG} ~/bin/

.PHONY: windows
windows:
env CGO_ENABLED=0 gox -os="windows" ${LDFLAGS} -arch=amd64 -output philosopher
env CGO_ENABLED=0 gox -os="windows" ${LDFLAGS} -arch=amd64 -output philosopher-${TAG}
mv philosopher-${TAG}-${RC}.exe ~/bin/

.PHONY: all
all:
env CGO_ENABLED=0 gox -os="linux" ${LDFLAGS} -arch=amd64 -output philosopher
env CGO_ENABLED=0 gox -os="windows" ${LDFLAGS} -arch=amd64 -output philosopher
env CGO_ENABLED=0 gox -os="linux" ${LDFLAGS} -arch=amd64 -output philosopher-${TAG}
env CGO_ENABLED=0 gox -os="windows" ${LDFLAGS} -arch=amd64 -output philosopher-${TAG}

.PHONY: push
push:
Expand All @@ -78,4 +81,4 @@ draft:

.PHONY: release
release:
goreleaser --release-notes=Changelog --rm-dist
goreleaser --release-notes=Changelog
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

- Database downloading and formatting.

- Peptide-spectrum matching with Comet.
- Peptide-spectrum matching with MSFragger and Comet.

- Peptide assignment validation with PeptideProphet.

Expand Down

0 comments on commit f2a5743

Please sign in to comment.