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

Commit c7ef71c

Browse files
authored
Merge pull request #1363 from fendor/install-issues
Install: Fix broken stack-build target and fix cabal run help msg
2 parents 51c94a4 + 2817217 commit c7ef71c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

install/src/Help.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ printUsage :: Action ()
1515
printUsage = do
1616
printLine ""
1717
printLine "Usage:"
18-
printLineIndented ("stack install.hs <target>")
18+
printLineIndented "stack install.hs <target>"
1919
printLineIndented "or"
20-
printLineIndented ("cabal new-run install.hs --project-file shake.project <target>")
20+
printLineIndented "cabal new-run install.hs --project-file install/shake.project <target>"
2121

2222
-- | short help message is printed by default
2323
shortHelpMessage :: Action ()

install/src/HieInstall.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ defaultMain = do
9191
)
9292

9393
-- stack specific targets
94-
phony "stack-build" (need (reverse $ map ("hie-" ++) hieVersions))
94+
phony "stack-build" (need (reverse $ map ("stack-hie-" ++) hieVersions))
9595
phony "stack-build-all" (need ["build-data", "build"])
9696
phony "stack-build-data" $ do
9797
need ["submodules"]

0 commit comments

Comments
 (0)