Karya, built on Mon Jul 24 11:39:07 PDT 2017 (patch 33511aca01257b76b88de7c7a2763b7a965c084e)

Safe HaskellNone

Shake.CcDeps

Synopsis

Documentation

enableDefines :: FilePath -> [String] -> [String] -> IO () Source #

Rewrite a file, switching #defines to #undefs and vice versa.

transitiveIncludesOf Source #

Arguments

:: Generated 
-> [FilePath] 
-> FilePath 
-> Shake.Action ([FilePath], [FilePath])

([found], [notFound])

Find files this files includes, transitively. Includes the given file.

Can also be used for .hsc files since it looks for ^#include. There isn't an IO version because it Shake.needs the intermediate files.