ndmitchell / rattle

Forward build system with speculation and caching
Other
102 stars 5 forks source link

gg thunk support #26

Open chadbrewbaker opened 4 years ago

chadbrewbaker commented 4 years ago

Any pointers on where in the code to emit https://github.com/StanfordSNR/gg thunks so it can be built in distributed parallel ?

ndmitchell commented 4 years ago

I'm afraid I'm not too familiar with where gg thunks would need to go. The only place Rattle really gets involved is when users run commands. If you want to observe every time a command gets run, then https://github.com/ndmitchell/rattle/blob/master/src/Development/Rattle/Server.hs#L303 is the line where we actually spawn a process.