Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
c7a0c197
Commit
c7a0c197
authored
Dec 20, 2015
by
Ben Gamari
🐢
Browse files
Library: Use renderBox
parent
cbd6aef9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Rules/Library.hs
View file @
c7a0c197
...
@@ -46,11 +46,12 @@ buildPackageLibrary _ target @ (PartialTarget stage pkg) = do
...
@@ -46,11 +46,12 @@ buildPackageLibrary _ target @ (PartialTarget stage pkg) = do
else
build
$
fullTarget
target
Ar
objs
[
a
]
else
build
$
fullTarget
target
Ar
objs
[
a
]
synopsis
<-
interpretPartial
target
$
getPkgData
Synopsis
synopsis
<-
interpretPartial
target
$
getPkgData
Synopsis
putSuccess
$
"/--------
\n
| Successfully built package library '"
putSuccess
$
renderBox
++
pkgName
pkg
[
"Successfully built package library '"
++
"' (stage "
++
show
stage
++
", way "
++
show
way
++
")."
++
pkgName
pkg
putSuccess
$
"| Package synopsis: "
++
"' (stage "
++
show
stage
++
", way "
++
show
way
++
")."
++
dropWhileEnd
isPunctuation
synopsis
++
"."
++
"
\n\\
--------"
,
"Package synopsis: "
++
dropWhileEnd
isPunctuation
synopsis
++
"."
]
-- TODO: this looks fragile as haskell objects can match this rule if their
-- TODO: this looks fragile as haskell objects can match this rule if their
-- names start with "HS" and they are on top of the module hierarchy.
-- names start with "HS" and they are on top of the module hierarchy.
...
...
Write
Preview
Markdown
is supported
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