Skip to content

Instantly share code, notes, and snippets.

@dim13 dim13/Makefile
Created Nov 20, 2018

Embed
What would you like to do?
Mirror all go releases (OpenBSD Make)
SRC:= 1.2.2
SRC+= 1.3 1.3.1 1.3.2 1.3.3
SRC+= 1.4 1.4.1 1.4.2 1.4.3
SRC+= 1.5 1.5.1 1.5.2 1.5.3 1.5.4
SRC+= 1.6 1.6.1 1.6.2 1.6.3 1.6.4
SRC+= 1.7 1.7.1 1.7.3 1.7.4 1.7.5 1.7.6
SRC+= 1.8 1.8.1 1.8.2 1.8.3 1.8.4 1.8.5 1.8.6 1.8.7
SRC+= 1.9 1.9.1 1.9.2 1.9.3 1.9.4 1.9.5 1.9.6 1.9.7
SRC+= 1.10 1.10.1 1.10.2 1.10.3 1.10.4 1.10.5
SRC+= 1.11 1.11.1 1.11.2
BOOT:= 20170518 20170531
TGZ:= ${SRC:C/^(.*)$/go\1.src.tar.gz/}
TGZ+= ${BOOT:C/^(.*)$/go1.4-bootstrap-\1.tar.gz/}
all: ${TGZ}
${TGZ}:
@ftp https://storage.googleapis.com/golang/$@
@sha256 $@ >> SHA256
check: ${TGZ}
@sha256 -C SHA256 $?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.