Skip to content
This repository was archived by the owner on Oct 7, 2020. It is now read-only.

Commit 8e7601c

Browse files
authored
Merge pull request #1057 from fendor/dist-sync-submodules
install.hs: Sync submodules and install cabal before building `dist`
2 parents 1be0704 + 211779b commit 8e7601c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

install.hs

+4-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ type GhcPath = String
3232
-- |Defines all different hie versions that are buildable.
3333
-- If they are edited,
3434
hieVersions :: [VersionNumber]
35-
hieVersions = ["8.2.1", "8.2.2", "8.4.2", "8.4.3", "8.4.4", "8.6.1", "8.6.2", "8.6.3"]
35+
hieVersions =
36+
["8.2.1", "8.2.2", "8.4.2", "8.4.3", "8.4.4", "8.6.1", "8.6.2", "8.6.3"]
3637

3738
-- |Most recent version of hie.
3839
-- Important for `dist`, the `hie-wrapper` of the most recent hie
@@ -85,6 +86,8 @@ main = do
8586
-- Creates a temporary folder, copies all hie versions to it and compresses it in the end.
8687
buildDist :: Action ()
8788
buildDist = do
89+
need ["submodules"]
90+
need ["cabal"]
8891
-- Create the name of the resulting tar file.
8992
Stdout gitRef' <- command [] "git" ["describe", "--tags"]
9093
let gitRef = trim gitRef'

0 commit comments

Comments
 (0)