dib-0.7.1: A simple, forward build system.

Safe HaskellNone
LanguageHaskell98

Dib.Builders.Simple

Description

The Simple builder allows you to execute a OneToOne trasformation given a function that generates a command line from the source and target files.

Synopsis

Documentation

makeSimpleTarget :: Text -> Text -> Text -> Text -> FilterFunc -> [Text] -> (String -> String -> String) -> Target Source #

The makeSimpleTarget function generates a target. It takes a name, source directory, destination directory, destination extension, gather filter, and a function to build the command line.