adamralph / bau

The C# task runner
MIT License
152 stars 17 forks source link

Initial implementation of inputs/outputs and up-to-date checking #208

Open eatdrinksleepcode opened 9 years ago

eatdrinksleepcode commented 9 years ago

This is a first step towards #196. Adds an InputFile and OutputFile method to the DSL, and uses those to skip the task if possible. The intent is to allow multiple input and output files, but even when those have been added, the singular methods will probably be retained for ease of use.

All testing had to be done in Acceptance tests due to the requirement to create real files in the file system for testing. Wondering if it might be worth investing in a file system abstraction library to make it possible to test these kinds of things in the Component tests.

connects to #196

adamralph commented 9 years ago

@eatdrinksleepcode awesome, thanks! I'm busy at NDC right now but I'll take a close look ASAP.

eatdrinksleepcode commented 9 years ago

Yeah I saw the tweets :) So jealous!

adamralph commented 9 years ago

Sorry @eatdrinksleepcode, same with this one, will need rebasing.

eatdrinksleepcode commented 9 years ago

Rebased