rescript-compiler icon indicating copy to clipboard operation
rescript-compiler copied to clipboard

[Bsb] Better dry run feature

Open chenglou opened this issue 5 years ago • 4 comments

The current bsb -- -n ninja dry run feature works well, but still potentially outputs lots of stuff when there are stale files or errors in the project.

@bobzhang I don't mind the extra output since this is primarily used by the editor to check whether the output is empty. But I'm guessing the intention of having a specialized dry run is better speed?

chenglou avatar Sep 12 '20 10:09 chenglou

@chenglou yes. Is it a high priority

bobzhang avatar Sep 18 '20 03:09 bobzhang

Ah, also, bsb -- -n wipes .compiler.log and leaves only # Done, as if the build succeeded even when it might have been erroring. This is technically a bug.

chenglou avatar Sep 18 '20 15:09 chenglou

so I fixed that dry-run mode will not touch .compiler.log in #4710

bobzhang avatar Sep 19 '20 08:09 bobzhang

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Sep 16 '22 22:09 stale[bot]