Karya, built on Sun Nov 26 01:04:37 PST 2017 (patch 0a920b2bde70c0cbac8ee09d158064798b61bbe5)

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.