provider_asn1 icon indicating copy to clipboard operation
provider_asn1 copied to clipboard

only compile older target source files

Open sebastiw opened this issue 1 year ago • 0 comments

Currently the files under asngen are moved after succesful generation. This results in rebar3 needing to recompile the ASN.1 files every time.

Instead of comparing modification dates between the generated files (in asngen/), and the original ASN.1-files (in asn1/), the moved generated source files (in src/) should be used for comparison.

This can introduce some issues due to the dependency-files asn1db beeing deleted in between, but I recon it should save a lot of time in the 99% cases. Maybe we could introduce a parameter flag save_generated which could be set to true if one wants to keep the dependency graph-files around.

sebastiw avatar Aug 14 '23 14:08 sebastiw