From 14e1077ad1fdea5353efe75b5f247d2a35eef5a0 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Sat, 11 Apr 2020 00:50:15 +0200 Subject: [PATCH] Add linux and freebsd ghcup executables to download info --- app/ghcup-gen/GHCupDownloads.hs | 21 +++++++++++++++------ ghcup-0.0.1.json | 13 ++++++++++--- 2 files changed, 25 insertions(+), 9 deletions(-) diff --git a/app/ghcup-gen/GHCupDownloads.hs b/app/ghcup-gen/GHCupDownloads.hs index 99cfb33..827d467 100644 --- a/app/ghcup-gen/GHCupDownloads.hs +++ b/app/ghcup-gen/GHCupDownloads.hs @@ -984,11 +984,18 @@ cabal_3200_64_darwin = DownloadInfo ------------- -ghcup_001_64_linux :: DownloadInfo -ghcup_001_64_linux = DownloadInfo - [uri|file:///home/maerwald/tmp/ghcup-exe|] +ghcup_010_64_linux :: DownloadInfo +ghcup_010_64_linux = DownloadInfo + [uri|https://github.com/hasufell/ghcup-hs/releases/download/0.1.0-pre/x86_64-pc-linux-ghcup|] Nothing - "558126339252788a3d44a3f910417277c7ab656f0796b68bdc58afe73296b8cd" + "f0105c69669285aaa8db101ce44f04e2ff69d4939882e52110b330a9d02409aa" + + +ghcup_010_64_freebsd :: DownloadInfo +ghcup_010_64_freebsd = DownloadInfo + [uri|https://github.com/hasufell/ghcup-hs/releases/download/0.1.0-pre/x86_64-portbld-freebsd-ghcup|] + Nothing + "1ef384ad54af02d7a9c1151e17cd96273c857395dc4a6696eef11b369c0a1b46" @@ -1855,11 +1862,13 @@ ghcupDownloads = M.fromList ) , ( GHCup , M.fromList - [ ( [vver|0.0.1|] + [ ( [vver|0.1.0|] , VersionInfo [Recommended, Latest] Nothing $ M.fromList [ ( A_64 , M.fromList - [(Linux UnknownLinux, M.fromList [(Nothing, ghcup_001_64_linux)])] + [ (Linux UnknownLinux, M.fromList [(Nothing, ghcup_010_64_linux)]) + , (FreeBSD, M.fromList [(Nothing, ghcup_010_64_freebsd)]) + ] ) ] ) diff --git a/ghcup-0.0.1.json b/ghcup-0.0.1.json index c5207bb..eee23ed 100644 --- a/ghcup-0.0.1.json +++ b/ghcup-0.0.1.json @@ -2113,14 +2113,21 @@ } }, "GHCup": { - "0.0.1": { + "0.1.0": { "viArch": { "A_64": { + "FreeBSD": { + "unknown_versioning": { + "dlHash": "1ef384ad54af02d7a9c1151e17cd96273c857395dc4a6696eef11b369c0a1b46", + "dlSubdir": null, + "dlUri": "https://github.com/hasufell/ghcup-hs/releases/download/0.1.0-pre/x86_64-portbld-freebsd-ghcup" + } + }, "Linux_UnknownLinux": { "unknown_versioning": { - "dlHash": "558126339252788a3d44a3f910417277c7ab656f0796b68bdc58afe73296b8cd", + "dlHash": "f0105c69669285aaa8db101ce44f04e2ff69d4939882e52110b330a9d02409aa", "dlSubdir": null, - "dlUri": "file:/home/maerwald/tmp/ghcup-exe" + "dlUri": "https://github.com/hasufell/ghcup-hs/releases/download/0.1.0-pre/x86_64-pc-linux-ghcup" } } }