Skip to content

Commit

Permalink
Merge pull request #768 from r2d4/makefile-checksums
Browse files Browse the repository at this point in the history
makefile: redirection for checksums
  • Loading branch information
dgageot authored Jun 29, 2018
2 parents d6fff91 + 123412d commit 44ad86a
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 @@ -60,10 +60,10 @@ $(BUILD_DIR)/$(PROJECT)-%-$(GOARCH): $(GO_FILES) $(BUILD_DIR)
GOOS=$* GOARCH=$(GOARCH) CGO_ENABLED=0 go build -ldflags $(GO_LDFLAGS) -tags $(GO_BUILD_TAGS) -o $@ $(BUILD_PACKAGE)

%.sha256: %
shasum -a 256 $< &> $@
shasum -a 256 $< > $@

%.exe: %
mv $< $@
cp $< $@

$(BUILD_DIR):
mkdir -p $(BUILD_DIR)
Expand Down

0 comments on commit 44ad86a

Please sign in to comment.