Skip to content

Commit 0db2e28

Browse files
jhrcekjneira
andauthored
Remove no longer needed git submodule update (#1145)
Co-authored-by: Javier Neira <[email protected]>
1 parent 1269d89 commit 0db2e28

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

install/src/HlsInstall.hs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,13 @@ defaultMain = do
4343

4444
want ["short-help"]
4545
-- general purpose targets
46-
phony "submodules" updateSubmodules
4746
phony "short-help" shortHelpMessage
4847
phony "help" (helpMessage toolsVersions)
4948

5049
phony "check" (if isRunFromStack then checkStack args else checkCabal_ args)
5150

5251
phony "data" $ do
5352
need ["show-options"]
54-
need ["submodules"]
5553
need ["check"]
5654
liftIO $ putStrLn "Generation of hoogle data files is disabled for now."
5755
-- if isRunFromStack then stackBuildData args else cabalBuildData args
@@ -60,7 +58,6 @@ defaultMain = do
6058
versions
6159
(\version -> phony ("hls-" ++ version) $ do
6260
need ["show-options"]
63-
need ["submodules"]
6461
need ["check"]
6562
if isRunFromStack then
6663
stackInstallHlsWithErrMsg (Just version) args
@@ -104,9 +101,3 @@ buildIcuMacosFix version args = execStackWithGhc_
104101
, "--extra-lib-dirs=/usr/local/opt/icu4c/lib"
105102
, "--extra-include-dirs=/usr/local/opt/icu4c/include"
106103
] ++ args
107-
108-
-- | update the submodules that the project is in the state as required by the `stack.yaml` files
109-
updateSubmodules :: Action ()
110-
updateSubmodules = do
111-
command_ [] "git" ["submodule", "sync"]
112-
command_ [] "git" ["submodule", "update", "--init"]

0 commit comments

Comments
 (0)