SuperpowersCorp / refactorio

Refactorio is a tool with which you build and maintain software.
BSD 3-Clause "New" or "Revised" License
19 stars 0 forks source link

Add multiple target support #1

Closed lgastako closed 6 years ago

lgastako commented 6 years ago

If multiple targets are supplied and any one of them is "-" then an error should be generated explaining that stdin cannot be combined with other targets.

lgastako commented 6 years ago

I have the NonEmpty data structure in place and the engine set up to loop over the NonEmpty but for some reason when i change the parser which works (but only provides a single target):

targetParser = pure. Target <$> strOption ...

to

targetParser = NE.fromList <$> some ( Target <$> strOption ...

it causes even refio --help to hang indefinitely.