rescript-association / reanalyze

Experimental analyses for ReScript and OCaml: globally dead values/types, exception analysis, and termination analysis.
MIT License
277 stars 20 forks source link

Specify a build target for native projects #175

Closed Zeta611 closed 2 years ago

Zeta611 commented 2 years ago

See #174

This makes it possible to properly analyze native projects that generate new files, e.g., via ocamlyacc.

Zeta611 commented 2 years ago

This has to be modified to only apply to native projects.

Zeta611 commented 2 years ago

Default value is now '', so that it is identical to the previous behavior.

Zeta611 commented 2 years ago

Thank you for the review. I think it's ok to be merged.

cristianoc commented 2 years ago

Thank you for doing this.

Would you add something to the README too, so people can discover this option? Also, one line in the change log.

Zeta611 commented 2 years ago

Sure!