File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11#!/usr/bin/env stack
2- -- stack --install-ghc runghc --package=shake --package=extra --package=zip-archive --package=mime-types --package=http-types --package=http-conduit --package=text --package=conduit-combinators --package=conduit --package=case-insensitive --package=aeson --package=zlib --package executable-path --package tar
2+ -- stack --install-ghc runghc --package=shake --package=extra --package=zip-archive --package=mime-types --package=http-types --package=http-conduit --package=text --package=conduit-combinators --package=conduit --package=case-insensitive --package=aeson --package=zlib --package tar
33{-# OPTIONS_GHC -Wall -Werror #-}
44{-# LANGUAGE RecordWildCards #-}
55
@@ -37,7 +37,6 @@ import Development.Shake.FilePath
3737import Network.HTTP.Conduit
3838import Network.HTTP.Types
3939import Network.Mime
40- import System.Environment.Executable
4140import Prelude -- Silence AMP warning
4241
4342-- | Entrypoint.
@@ -55,8 +54,10 @@ main =
5554 gGitRevCount <- length . lines <$> readProcess " git" [" rev-list" , " HEAD" ] " "
5655 gGitSha <- trim <$> readProcess " git" [" rev-parse" , " HEAD" ] " "
5756 gHomeDir <- getHomeDirectory
58- RunGHC gScriptPath <- getScriptPath
59- let gGpgKey = " 9BEFB442"
57+ let -- @gScriptPath@ was retrived using the @executable-path@ package, but it
58+ -- has trouble with GHC 7.10.2 on OS X
59+ gScriptPath = " scripts/release/release.hs"
60+ gGpgKey = " 9BEFB442"
6061 gAllowDirty = False
6162 gGithubReleaseTag = Nothing
6263 Platform arch _ = buildPlatform
You can’t perform that action at this time.
0 commit comments