Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
Packages
Cabal
Commits
2ae262e2
Commit
2ae262e2
authored
Aug 31, 2008
by
Duncan Coutts
Browse files
Display the right message for sdist --snapshot
parent
7a09d559
Changes
1
Hide whitespace changes
Inline
Side-by-side
Distribution/Simple/SrcDist.hs
View file @
2ae262e2
...
...
@@ -126,10 +126,11 @@ sdist pkg mb_lbi flags mkTmpDir pps = do
withTempDirectory
verbosity
tmpDir
$
do
setupMessage
verbosity
"Building source dist for"
(
packageId
pkg
)
date
<-
toCalendarTime
=<<
getClockTime
let
pkg'
|
snapshot
=
snapshotPackage
date
pkg
|
otherwise
=
pkg
setupMessage
verbosity
"Building source dist for"
(
packageId
pkg'
)
if
snapshot
then
prepareSnapshotTree
verbosity
pkg'
mb_lbi
distPref
tmpDir
pps
else
prepareTree
verbosity
pkg'
mb_lbi
distPref
tmpDir
pps
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment