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
/
pbts
/
tool
/
Main.hs
blob
c15035745e3dba182711713e9481701f20cab055
1
module
Main
where
2
3
-- bt
4
import
Tool
5
(
mkTool
)
6
7
-- pbts
8
import
Paths_pbts
-- (Cabal autogenerated module)
9
(
getDataFileName
)
10
11
--------------------------------------------------------------------------------
12
13
main
::
IO
()
14
main
=
do
15
customDataFile
<-
getDataFileName
"PP2.txt"
16
mkTool
"custom-pp2"
customDataFile