blob: ff80635fa963e18a4f81d5bf50d671bef61f4afd (
plain)
1
2
3
4
5
6
7
8
9
10
|
module examples.HelloFrege where
import Test.QuickCheck
import buildclient.config.BuildParser (parseShortDirective, lexer, runParser, parseFile, findDirective)
import buildclient.config.BuildConfig (findSource, findBuildSystem, parseBuildConfig)
main = do
text <- readFile "src/main/resources/testconfig.bcc"
let lexed = lexer text
let (Right d) = runParser parseFile lexed
println $ show $ parseBuildConfig d
|