We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sample snippets from that Makefile:
# Space-separated list of cmd/BINARY_NAME directories to build WHAT = check_imap_mailbox
.PHONY: linux ## linux: generates assets for Linux distros linux: @echo "Building release assets for linux ..." @for target in $(WHAT); do \ mkdir -p $(OUTPUTDIR)/$$target && \ echo "Building 386 binaries" && \ env GOOS=linux GOARCH=386 $(BUILDCMD) -o $(OUTPUTDIR)/$$target/$$target-$(VERSION)-linux-386 ${PWD}/cmd/$$target && \ echo "Building amd64 binaries" && \ env GOOS=linux GOARCH=amd64 $(BUILDCMD) -o $(OUTPUTDIR)/$$target/$$target-$(VERSION)-linux-amd64 ${PWD}/cmd/$$target && \ echo "Generating checksum files" && \ $(CHECKSUMCMD) $(OUTPUTDIR)/$$target/$$target-$(VERSION)-linux-386 > $(OUTPUTDIR)/$$target/$$target-$(VERSION)-linux-386.sha256 && \ $(CHECKSUMCMD) $(OUTPUTDIR)/$$target/$$target-$(VERSION)-linux-amd64 > $(OUTPUTDIR)/$$target/$$target-$(VERSION)-linux-amd64.sha256; \ done @echo "Completed build tasks for linux"
Direct link:
The text was updated successfully, but these errors were encountered:
atc0005
No branches or pull requests
Sample snippets from that Makefile:
Direct link:
The text was updated successfully, but these errors were encountered: