Merge branch 'PR/fix-renaming-hasufell-refs'

This commit is contained in:
Julian Ospald 2018-10-16 14:52:58 +08:00
commit c5b89e0297
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28
2 changed files with 13 additions and 11 deletions

View File

@ -1,6 +1,6 @@
[![GitHub release](https://img.shields.io/github/release/hasufell/ghcup.svg)](https://github.com/hasufell/ghcup/releases) [![GitHub release](https://img.shields.io/github/release/haskell/ghcup.svg)](https://github.com/haskell/ghcup/releases)
[![Build Status](https://travis-ci.org/hasufell/ghcup.svg?branch=master)](https://travis-ci.org/hasufell/ghcup) [![Build Status](https://travis-ci.org/haskell/ghcup.svg?branch=master)](https://travis-ci.org/haskell/ghcup)
[![license](https://img.shields.io/github/license/hasufell/ghcup.svg)](COPYING) [![license](https://img.shields.io/github/license/haskell/ghcup.svg)](COPYING)
# GHC up # GHC up
@ -29,9 +29,11 @@ In addition this script can also install `cabal-install`.
## Why ## Why
I don't use stack, but `cabal new-*` and system GHC versions `cabal new-*` manages your haskell packages, but not GHC versions, since
it follows the unix philosophy. Unfortunately system GHC versions
are often either outdated or cannot be installed in parallel are often either outdated or cannot be installed in parallel
with proper symlink management. with proper symlink management on many distros. This tool
tries to fill that gap and be fairly distro-agnostic.
Inspired by [rustup](https://github.com/rust-lang-nursery/rustup.rs). Inspired by [rustup](https://github.com/rust-lang-nursery/rustup.rs).
@ -43,7 +45,7 @@ E.g.:
```sh ```sh
mkdir -p ~/.local/bin mkdir -p ~/.local/bin
curl https://raw.githubusercontent.com/hasufell/ghcup/master/ghcup > ~/.local/bin/ghcup curl https://raw.githubusercontent.com/haskell/ghcup/master/ghcup > ~/.local/bin/ghcup
chmod +x ~/.local/bin/ghcup chmod +x ~/.local/bin/ghcup
``` ```
@ -67,11 +69,11 @@ See `ghcup --help`.
## TODO ## TODO
- [ ] FreeBSD support ([#4](https://github.com/hasufell/ghcup/issues/4)) - [ ] FreeBSD support ([#4](https://github.com/haskell/ghcup/issues/4))
- [ ] Make fetching tarballs more robust ([#5](https://github.com/hasufell/ghcup/issues/5)) - [ ] Make fetching tarballs more robust ([#5](https://github.com/haskell/ghcup/issues/5))
- [x] More code documentation - [x] More code documentation
- [x] Allow to compile from source ([#2](https://github.com/hasufell/ghcup/issues/2)) - [x] Allow to compile from source ([#2](https://github.com/haskell/ghcup/issues/2))
- [x] Allow to install cabal-install as well ([#3](https://github.com/hasufell/ghcup/issues/3)) - [x] Allow to install cabal-install as well ([#3](https://github.com/haskell/ghcup/issues/3))
## Known problems ## Known problems

2
ghcup
View File

@ -87,7 +87,7 @@ DOWNLOADER_OPTS="--fail -O"
# @VARIABLE: SCRIPT_UPDATE_URL # @VARIABLE: SCRIPT_UPDATE_URL
# @DESCRIPTION: # @DESCRIPTION:
# Location to update this script from. # Location to update this script from.
SCRIPT_UPDATE_URL="https://raw.githubusercontent.com/hasufell/ghcup/master/ghcup" SCRIPT_UPDATE_URL="https://raw.githubusercontent.com/haskell/ghcup/master/ghcup"
# @VARIABLE: GHC_DOWNLOAD_BASEURL # @VARIABLE: GHC_DOWNLOAD_BASEURL
# @DESCRIPTION: # @DESCRIPTION: