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
ddfe5bcd
Commit
ddfe5bcd
authored
Dec 20, 2015
by
Andrey Mokhov
Browse files
Move Shake database to shake-build/.db, rename _shake to .shake for consistency.
parent
12034445
Changes
4
Hide whitespace changes
Inline
Side-by-side
.gitignore
View file @
ddfe5bcd
*.o
*.hi
_shake/
_build/
.shake/
.db/
cfg/system.config
arg/*/*.txt
build.bat
View file @
ddfe5bcd
@mkdir
_
shake
2
>
nul
@ghc
--make -Wall
src
/Main
.hs
-isrc -rtsopts -with-rtsopts
=
-I
0
-outputdir
=
_
shake
-o
_
shake/build
&&
_
shake\build
--lint --directory
".."
%
*
@mkdir
.
shake
2
>
nul
@ghc
--make -Wall
src
/Main
.hs
-isrc -rtsopts -with-rtsopts
=
-I
0
-outputdir
=
.
shake
-o
.
shake/build
&&
.
shake\build
--lint --directory
".."
%
*
build.sh
View file @
ddfe5bcd
#!/bin/bash -e
root
=
`
dirname
$0
`
mkdir
-p
$root
/
_
shake
ghc
--make
-Wall
$root
/src/Main.hs
-i
$root
/src
-rtsopts
-with-rtsopts
=
-I0
-outputdir
=
$root
/
_
shake
-o
$root
/
_
shake/build
$root
/
_
shake/build
--lint
--directory
$root
/..
$@
mkdir
-p
$root
/
.
shake
ghc
--make
-Wall
$root
/src/Main.hs
-i
$root
/src
-rtsopts
-with-rtsopts
=
-I0
-outputdir
=
$root
/
.
shake
-o
$root
/
.
shake/build
$root
/
.
shake/build
--lint
--directory
$root
/..
$@
src/Base.hs
View file @
ddfe5bcd
...
...
@@ -49,10 +49,10 @@ configPath :: FilePath
configPath
=
shakePath
-/-
"cfg"
bootPackageConstraints
::
FilePath
bootPackageConstraints
=
shakeFilesPath
++
"boot-package-constraints"
bootPackageConstraints
=
shakeFilesPath
-/-
"boot-package-constraints"
packageDependencies
::
FilePath
packageDependencies
=
shakeFilesPath
++
"package-dependencies"
packageDependencies
=
shakeFilesPath
-/-
"package-dependencies"
-- Utility functions
-- Find and replace all occurrences of a value in a list
...
...
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