this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore(make) bare minimum make task runner

eagleusb 1d4d77d6 70417208

+20
+20
Makefile
··· 1 + shell := /bin/bash -euo pipefail 2 + 3 + VERSION := $(shell git describe --tags --abbrev=4 2>/dev/null || echo dev) 4 + BUILD_TIME := $(shell date -u +%Y-%m-%dT%H:%M:%SZ) 5 + LDFLAGS := -ldflags "-s -w -X main.version=$(VERSION) -X main.buildTime=$(BUILD_TIME)" 6 + 7 + .PHONY: build run clean 8 + 9 + build: 10 + @mkdir -p bin 11 + go build $(LDFLAGS) -trimpath -o bin/proxycon . 12 + 13 + run: build 14 + ./bin/proxycon --verbose 15 + 16 + version: 17 + go run -- *.go --version 18 + 19 + clean: 20 + rm -f bin/proxycon