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
fe2655b6
Commit
fe2655b6
authored
Dec 26, 2014
by
Andrey Mokhov
Browse files
Remove redundant imports, add TODO's.
parent
ced18603
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Config.hs
View file @
fe2655b6
...
...
@@ -2,12 +2,6 @@ module Config (
autoconfRules
,
configureRules
,
cfgPath
)
where
import
Development.Shake
import
Development.Shake.Command
import
Development.Shake.FilePath
import
Development.Shake.Rule
import
Control.Applicative
import
Control.Monad
import
Base
cfgPath
::
FilePath
...
...
@@ -17,10 +11,10 @@ autoconfRules :: Rules ()
autoconfRules
=
do
"configure"
%>
\
out
->
do
copyFile'
(
cfgPath
</>
"configure.ac"
)
"configure.ac"
cmd
"bash autoconf"
cmd
"bash autoconf"
-- TODO: get rid of 'bash'
configureRules
::
Rules
()
configureRules
=
do
cfgPath
</>
"default.config"
%>
\
out
->
do
need
[
cfgPath
</>
"default.config.in"
,
"configure"
]
cmd
"bash configure"
cmd
"bash configure"
-- TODO: get rid of 'bash'
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