-
Notifications
You must be signed in to change notification settings - Fork 710
Remove show-build-info command and generate build-info as a side-effect of 'build' #7498
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
b1c02f1
fb53623
a6e227a
a2413e5
705228e
6b954b0
c444ad8
b68243c
66669b1
0702193
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ | |
|
||
module Distribution.Simple.BuildPaths ( | ||
defaultDistPref, srcPref, | ||
haddockDirName, hscolourPref, haddockPref, | ||
buildInfoPref, haddockDirName, hscolourPref, haddockPref, | ||
autogenPackageModulesDir, | ||
autogenComponentModulesDir, | ||
|
||
|
@@ -67,6 +67,10 @@ srcPref distPref = distPref </> "src" | |
hscolourPref :: HaddockTarget -> FilePath -> PackageDescription -> FilePath | ||
hscolourPref = haddockPref | ||
|
||
-- | Build info json file, generated in every build | ||
buildInfoPref :: FilePath -> FilePath | ||
buildInfoPref distPref = distPref </> "build-info.json" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Possible inconsistency, file name is There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. As far as I'm concerned buildinfo is a word. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. While I also find "buildinfo" more natural I found some precedent on the cmdline: There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I choose consistency with |
||
|
||
-- | This is the name of the directory in which the generated haddocks | ||
-- should be stored. It does not include the @<dist>/doc/html@ prefix. | ||
haddockDirName :: HaddockTarget -> PackageDescription -> FilePath | ||
|
Uh oh!
There was an error while loading. Please reload this page.