Commit ddfe5bcd authored by Andrey Mokhov's avatar Andrey Mokhov
Browse files

Move Shake database to shake-build/.db, rename _shake to .shake for consistency.

parent 12034445
*.o
*.hi
_shake/
_build/
.shake/
.db/
cfg/system.config
arg/*/*.txt
@mkdir _shake 2> nul
@ghc --make -Wall src/Main.hs -isrc -rtsopts -with-rtsopts=-I0 -outputdir=_shake -o _shake/build && _shake\build --lint --directory ".." %*
@mkdir .shake 2> nul
@ghc --make -Wall src/Main.hs -isrc -rtsopts -with-rtsopts=-I0 -outputdir=.shake -o .shake/build && .shake\build --lint --directory ".." %*
#!/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/.. $@
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment