Last active
December 16, 2015 02:19
-
-
Save spl/5361533 to your computer and use it in GitHub Desktop.
This is a simple file to demonstrate how to copy an input file to an output file in Shake. It was written with Shake 0.10.2.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{-# OPTIONS_GHC -Wall #-} | |
module Main where | |
import Development.Shake | |
main :: IO () | |
main = shakeArgs shakeOptions $ do | |
want ["output-file"] | |
"output-file" *> \dst -> | |
copyFile' "input-file" dst |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment