Commit Graph

345 Commits

Author SHA1 Message Date
Matthew Pickering 2b04c0a242 Fix CI config 2019-06-12 15:55:30 +01:00
Julian Ospald 931576b903
First attempt of github ci 2019-05-30 12:31:05 +08:00
Julian Ospald bcdff68d54
Add support GHCUP_META_DOWNLOAD_URL and GHCUP_META_VERSION_URL, fixes #45
Allowing to overwrite .download-urls and .available-versions URLs.

Example:

  GHCUP_META_DOWNLOAD_URL=file://$(pwd)/.download-urls \
  GHCUP_META_VERSION_URL=file://$(pwd)/.available-versions \
    ./ghcup --verbose list
2019-05-30 12:11:22 +08:00
Julian Ospald 310fe03b1f
Fix .available-versions
Space is not allowed.
2019-05-30 12:04:26 +08:00
Julian Ospald 78b0d99935
Make 8.6.5 the recommended GHC version
This will break FreeBSD in the meantime, but well...
2019-05-30 12:00:17 +08:00
Julian Ospald aa523a206a
Make --version end with a newline, fixes #96 2019-05-30 11:56:38 +08:00
Julian Ospald ee2d370ece
Remove github issue template 2019-05-24 16:53:10 +08:00
Julian Ospald 63acd29639
Remove travis 2019-05-24 16:53:00 +08:00
Julian Ospald da988b1eaf
Move away from github 2019-05-24 16:22:40 +08:00
Julian Ospald 8a6ff2ff16
Merge remote-tracking branch 'origin/pr/90' 2019-05-24 10:08:36 +08:00
Julian Ospald a3cc8386ec
Merge remote-tracking branch 'origin/pr/99' 2019-05-24 10:06:47 +08:00
Francesco Gazzetta 5a60195c47 Add Linux Mint support 2019-05-19 19:50:21 +02:00
Julian Ospald 17aafe3439
posix_realpath: if dir does not exist also append to current dir
This matches realpath behavior.
2019-05-17 11:12:12 +08:00
Julian Ospald 6e1ee078cc
posix_realpath: make sure we don't loop infinitely
On broken symlink loops this would never terminate. The most
naive and easy solution is a max of loop steps.
2019-05-17 11:12:12 +08:00
Julian Ospald 09abd528ee
Merge branch 'some-error-handling' 2019-05-17 11:05:29 +08:00
Julian Ospald ed456d2071
Fix cd when CDPATH is set wrt #98 2019-05-17 11:02:07 +08:00
Julian Ospald 3c5e323490
Improve some error handling 2019-04-24 14:38:34 +08:00
Julian Ospald 01f7a58565
Add support for 8.6.5 2019-04-24 14:37:32 +08:00
Julian Ospald 85ae92c4cb
Add FAQ section to README 2019-04-13 10:34:01 +08:00
Julian Ospald c4a8789ed3
Be a little bit less verbose in bootstrap-haskell 2019-04-11 10:42:29 +08:00
Julian Ospald 8c1dfa3ba0
Enable caching only for bootstrap-haskell wrt #11 2019-04-11 10:35:37 +08:00
Julian Ospald c64cf0efca
Silence stderr for download_to_stdout 2019-04-11 10:24:30 +08:00
Julian Ospald f8abcb7d08
Merge branch 'system-reqs' 2019-04-11 10:15:15 +08:00
Julian Ospald ad75249fc4
Merge branch 'ghcup-upgrade-tweak' 2019-04-10 23:57:35 +08:00
Julian Ospald ba64b13417
Introduce print-system-reqs wrt #49
And also make bootstrap-haskell print this by default.
2019-04-10 23:43:58 +08:00
Julian Ospald 50f661092d
Fix ghcup list -t all 2019-04-10 21:56:48 +08:00
Julian Ospald 2a92c96ea9
Merge branch 'overhaul-list-subcommand' 2019-04-10 19:06:31 +08:00
Julian Ospald ae8b5ae27e
Debug output to stderr 2019-04-10 14:42:36 +08:00
Julian Ospald 032b95aa9b
Remove show command, which is obsolete now 2019-04-10 14:37:01 +08:00
Julian Ospald f26830c9b4
Considerably tweak the list subcommand wrt #88 2019-04-10 14:37:01 +08:00
Julian Ospald 36e8389bb0
Tweak ghcup upgrade
1. add --inplace flag
2. by default install into BIN_LOCATION
2019-04-07 02:08:09 +08:00
Julian Ospald ae99de5876
Merge branch 'rm-cabal-reinstall' 2019-03-28 08:35:09 +08:00
Julian Ospald 78a6e235a8
Don't reinstall cabal-install from source in bootstrap-haskell
We already have the latest version available quite reliably.
2019-03-27 22:54:02 +08:00
Julian Ospald 0250b9fc97
Merge remote-tracking branch 'origin/pr/79' 2019-03-25 16:27:06 +08:00
Dale Wijnand 66c63f349d
Prefer "macOS" over "Mac OS X"
(Apple rebranded Mac OS X to OS X in 2012, and then to macOS in 2016.)
2019-03-24 18:27:10 +00:00
Dale Wijnand 6cd563b139
Stop pointing to futurice now macOS is supported 2019-03-24 18:27:07 +00:00
Julian Ospald febd0ac8a3
Merge branch 'www' 2019-03-23 20:26:18 +08:00
Julian Ospald afe5670101
[www] Add note for people who don't like curl | sh 2019-03-23 11:44:05 +08:00
Julian Ospald 9b2cb028c5
[www] Make a distinction between unix, linux, mac, ... 2019-03-23 11:23:28 +08:00
Julian Ospald c902304793
Add ghcup www, design from rustup 2019-03-23 00:44:14 +08:00
Julian Ospald ff9261ba0c
Merge branch 'changelog-subcommand' 2019-03-07 20:01:29 +08:00
Julian Ospald 12f9f155fb
Implement changelog subcommand wrt #72 2019-03-07 20:00:43 +08:00
Julian Ospald 8e634b9444
Merge branch 'trap' 2019-03-07 19:55:37 +08:00
Julian Ospald d01ed08504
Use trap to clean up interrupted download in cache
Fixes #73
2019-03-06 17:10:19 +08:00
Julian Ospald 21ba3f3714
Merge remote-tracking branch 'origin/pr/71' 2019-03-06 12:09:59 +08:00
David Tchepak 18c7e546b6 Add GHC 8.6.4
Added downloads available from https://downloads.haskell.org/~ghc/8.6.4/
as at the time of commit.

Have not made this recommended yet until common tools and libs are all
confirmed to work fine.
2019-03-06 10:55:33 +11:00
Julian Ospald bbf63c3881
Merge remote-tracking branch 'origin/pr/70' 2019-02-20 18:20:57 +08:00
George Wilson ae263ac282 Unquote invocations in emake 2019-02-20 13:18:22 +10:00
George Wilson 35bd1c04db Only read the FreeBSD major version 2019-02-18 15:48:16 +10:00
George Wilson bb80559fb3 Specify versions for FreeBSD 2019-02-18 13:59:17 +10:00