-
Notifications
You must be signed in to change notification settings - Fork 849
Open
Labels
Milestone
Description
Using Stack 1.4.0 on Windows:
- Checkout HLint,
git clone https://github.com/ndmitchell/hlint.git && cd hlint - Create a stack.yaml,
stack init - Build it,
stack build - Find the exe,
stack exec where hlint- says something likec:\Neil\hlint\.stack-work\install\60f100ec\bin\hlint.exe - Delete the exe,
del c:\Neil\hlint\.stack-work\install\60f100ec\bin\hlint.exe - Rebuild it,
stack build- nothing happens, but it should detect that the output file is missing and rebuild it.
I suggest that if the output file no longer exists then stack rebuilds the inputs. Note that Shake takes this approach for build rules, rebuilding if either the inputs or the outputs have changed.