Olius
8711a4a318
Added mydistro definition to fix mktempdir
2019-12-06 20:59:04 -05:00
Julian Ospald
4f345d109a
Change implementation of mktempdir
2019-11-13 11:29:02 +08:00
alex
264d84be68
provide temporary directory name prefix only for Darwin
2019-11-04 21:43:48 +00:00
Alex McLean
021a983e91
Add template to mktemp commands, for compatibility with earlier versions of MacOS.
...
Ref: https://forum.toplap.org/t/trouble-setting-up-tidal-stack-install/902/20
2019-10-31 06:42:05 -04:00
Julian Ospald
8e418eac7e
Use -f instead of -e where applicable
2019-10-22 12:04:03 +08:00
toonn
d28923968f
Change to bundled-flags arguments for compatibility
...
Older versions of tar don't understand the `-xf` flags while newer
versions understand the "bundled-flags" (as documend in bsdtar's
manpage) perfectly. So `tar xf` should maximize compatibility.
2019-09-29 14:47:04 +02:00
toonn
9f083c53e9
Bsdtar has no explicit flag for xz decompression
...
At least as of Mac OS 10.13.6 the included bsdtar has no flag for xz
decompression while `z` means gzip decompression which is obviously
problematic for xz compressed archives.
I believe that any tar version on Mac OS that can decompress xz archives
also automatically detects compression formats. So `tar xf` should be
fine.
Fixes #119
2019-09-29 14:43:05 +02:00
Julian Ospald
077ed765b7
Fix command_exists for darwin
2019-08-21 19:28:35 +08:00
Julian Ospald
7713180914
Remove redundant PATH messages wrt #113
2019-08-19 10:24:22 +08:00
Eric Mertens
5066a0a816
Don't check for xz on darwin
...
xz is not needed on darwin and checking for it generates a lot
of questions for new users that we could easily avoid.
2019-07-26 09:45:30 -07:00
Julian Ospald
580da22569
Add basic bash-completion wrt #109
2019-07-24 16:53:15 +08:00
Gershom
be1300b08a
code review
2019-07-22 02:23:02 -04:00
Gershom
d7d7c955d9
avoid requiring xz on os x, improve reqs msg
2019-07-18 01:59:04 -04:00
Michael Abbott
0c5951a225
Fix bogus tabs (issue #106 )
2019-06-24 14:32:58 +01:00
Julian Ospald
4842f7ee68
Add redhat support wrt #105
2019-06-24 18:47:13 +08:00
Julian Ospald
c984cafb1c
Expose hsc2hs (and other tools distributed with GHC)
...
Fixes #104
2019-06-20 01:07:29 +08:00
Julian Ospald
b56597a02a
Install haddock-$ghcver symlinks by default
2019-06-14 11:20:21 +08:00
Julian Ospald
13612acb2a
Merge branch 'alpine-ghc-support'
2019-06-14 10:06:25 +08:00
Julian Ospald
010b140cda
Introduce major version symlinks wrt #101
2019-06-13 14:49:08 +08:00
Julian Ospald
00fd6f53b9
Add GHC alpine supprt wrt #82
...
* the bindists are not official
* we have to allow curl to follow redirects, because github
hosts on AWS
* bindists are built without haddock support, so those symlinks
must be conditional for now, see
https://github.com/redneb/ghc-alt-libc/issues/5
2019-06-13 14:47:33 +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
aa523a206a
Make --version end with a newline, fixes #96
2019-05-30 11:56:38 +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
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
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
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
d01ed08504
Use trap to clean up interrupted download in cache
...
Fixes #73
2019-03-06 17:10:19 +08: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
45d939219c
Make shellcheck happy
2019-02-18 13:19:25 +10:00
Julian Ospald
eb1dd745c1
Hide 'compile' subcommand by default from help menu
2019-02-18 11:01:52 +08:00
George Wilson
398d8d7ae0
Define emake to enable installing on FreeBSD
2019-02-17 09:11:16 +10:00
Joe Kachmar
318fbdc680
Bumps VERSION to 0.0.7
2019-02-12 14:25:04 -05:00