Skip to content

Instantly share code, notes, and snippets.

View jessequinn's full-sized avatar
💭
fullstack senior developer

Jesse Quinn jessequinn

💭
fullstack senior developer
View GitHub Profile
@jessequinn
jessequinn / Makefile
Created November 23, 2022 15:49 — forked from eleniums/Makefile
Sample Go Makefile to build binaries for Windows, Mac, and Linux.
EXECUTABLE=executable-name
WINDOWS=$(EXECUTABLE)_windows_amd64.exe
LINUX=$(EXECUTABLE)_linux_amd64
DARWIN=$(EXECUTABLE)_darwin_amd64
VERSION=$(shell git describe --tags --always --long --dirty)
.PHONY: all test clean
all: test build ## Build and run tests