From dacb936a5b574144590b68963da5febfd2051945 Mon Sep 17 00:00:00 2001 From: Ross Smith II Date: Sat, 8 Jul 2017 10:05:52 -0700 Subject: [PATCH 1/2] Add cygwin at 2.8.1 --- cygwin.json | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 cygwin.json diff --git a/cygwin.json b/cygwin.json new file mode 100644 index 0000000000..b9cfcba978 --- /dev/null +++ b/cygwin.json @@ -0,0 +1,57 @@ + { + "version": "2.8.1", + "homepage": "https://cygwin.com/", + "architecture": { + "64bit": { + "url": "https://cygwin.com/setup-x86_64.exe", + "hash": "062ab45437fed70071dd4cf1c9d6c584f3efbb3d64d60e4cfc4e74fd6b6de214" + }, + "32bit": { + "url": "https://cygwin.com/setup-x86.exe", + "hash": "10b368dc6d6cc6ed662ecb2822445ddeac7939d6bc80d152eee6cc6301a444cf" + } + }, + "autoupdate": { + "architecture": { + "64bit": { + "url": "https://cygwin.com/setup-x86_64.exe" + }, + "32bit": { + "url": "https://cygwin.com/setup-x86.exe" + } + } + }, + "bin": [ + [ + "root\\bin\\bash.exe", + "cygwin", + "--login -i" + ] + ], + "checkver": { + "re": "The most recent version of the Cygwin DLL is[^>]*([\\d\\.]+)" + }, + "installer": { + "args": [ + "--no-admin", + "--no-desktop", + "--local-package-dir $dir\\packages", + "--packages default", + "--quiet-mode", + "--root $dir\\root", + "--site http://mirrors.kernel.org/sourceware/cygwin/" + ] + }, + "notes": "To start a Cygwin shell, type \"cygwin\"", + "persist": [ + "packages", + "root" + ], + "pre_install": "new-item -itemtype directory \"$dir\\root\"; new-item -itemtype directory \"$dir\\packages\"", + "shortcuts": [ + [ + "root\\Cygwin.bat", + "Cygwin" + ] + ] +} From c4e100bc19c9f2f2bb4503d608bfa42000c01186 Mon Sep 17 00:00:00 2001 From: Ross Smith II Date: Sat, 8 Jul 2017 10:09:02 -0700 Subject: [PATCH 2/2] Remove trailing space in cygwin --- cygwin.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cygwin.json b/cygwin.json index b9cfcba978..3737d90755 100644 --- a/cygwin.json +++ b/cygwin.json @@ -20,7 +20,7 @@ "url": "https://cygwin.com/setup-x86.exe" } } - }, + }, "bin": [ [ "root\\bin\\bash.exe", @@ -49,9 +49,9 @@ ], "pre_install": "new-item -itemtype directory \"$dir\\root\"; new-item -itemtype directory \"$dir\\packages\"", "shortcuts": [ - [ - "root\\Cygwin.bat", - "Cygwin" + [ + "root\\Cygwin.bat", + "Cygwin" ] ] }