repo.or.cz
/
cabal.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Correctly provision build tools in all situations
[cabal.git]
/
cabal-testsuite
/
PackageTests
/
BuildToolPaths
/
bt
/
exe
/
Main.hs
blob
3d4e399da13275e6679218d9d2355a391034ddb8
1
module
Main
where
2
3
-- bt
4
import
Tool
5
(
mkTool
)
6
import
Paths_bt
-- (Cabal autogenerated module)
7
(
getDataFileName
)
8
9
--------------------------------------------------------------------------------
10
11
main
::
IO
()
12
main
=
do
13
customDataFile
<-
getDataFileName
"PP1.txt"
14
mkTool
"custom-pp1"
customDataFile