Skip to content

Commit

Permalink
just get versions from git tags
Browse files Browse the repository at this point in the history
  • Loading branch information
nverno committed Apr 30, 2019
1 parent 295054e commit acd9fd1
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions bin/install
Original file line number Diff line number Diff line change
@@ -1,16 +1,8 @@
#!/usr/bin/env bash

ghc_version () {
local version=$1
local url="https://downloads.haskell.org/~ghc/${version}/"
curl -s "$url" | grep -oE 'ghc-[^-]+' | head -n 1 | sed -e 's/ghc-//g'
}

ghc_install() {
local install_type=$1
# local release=$2
local version=$2
# local version=$(ghc_version $release)
local install_path=$3

local tmp_dir=$(mktemp -d -t haskell_XXXXXXX)
Expand Down

0 comments on commit acd9fd1

Please sign in to comment.