Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
86b0a17a
Commit
86b0a17a
authored
Jul 24, 2015
by
Andrey Mokhov
Browse files
Clean up.
parent
505302b7
Changes
4
Hide whitespace changes
Inline
Side-by-side
src/Package.hs
View file @
86b0a17a
...
...
@@ -6,7 +6,6 @@ import Util
import
Data.Function
import
GHC.Generics
import
Development.Shake.Classes
import
Development.Shake.FilePath
-- pkgPath is the path to the source code relative to the root
data
Package
=
Package
...
...
src/Rules/Data.hs
View file @
86b0a17a
...
...
@@ -16,7 +16,6 @@ import Rules.Actions
import
Control.Applicative
import
Control.Monad.Extra
import
Development.Shake
import
Development.Shake.FilePath
-- Build package-data.mk by using GhcCabal to process pkgCabal file
buildPackageData
::
StagePackageTarget
->
Rules
()
...
...
src/Settings/GhcPkg.hs
View file @
86b0a17a
...
...
@@ -12,8 +12,8 @@ import Development.Shake.FilePath
ghcPkgArgs
::
Args
ghcPkgArgs
=
do
pkg
<-
asks
getPackage
stage
<-
asks
getStage
pkg
<-
asks
getPackage
builder
(
GhcPkg
stage
)
?
mconcat
[
arg
"update"
,
arg
"--force"
...
...
src/Util.hs
View file @
86b0a17a
module
Util
(
module
Data
.
Char
,
module
System
.
Console
.
ANSI
,
module
Development
.
Shake
.
FilePath
,
replaceIf
,
replaceEq
,
replaceSeparators
,
unifyPath
,
chunksOfSize
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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