Created
November 20, 2018 22:29
-
-
Save dim13/244c01b2188df577332eba319d8b5c34 to your computer and use it in GitHub Desktop.
Mirror all go releases (OpenBSD Make)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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