(cabal check) Add "Autogen include" test for ts
[cabal.git] / cabal-testsuite / PackageTests / BuildToolDepends / pre-proc / MyCustomPreprocessor.hs
blob09c949ab1761715c6f34037eeaea7e73122e9f70
1 module Main where
3 import System.Environment
4 import System.IO
6 main :: IO ()
7 main = do
8 (_:source:target:_) <- getArgs
9 let f '0' = '1'
10 f c = c
11 writeFile target . map f =<< readFile source