provider_asn1
provider_asn1 copied to clipboard
only compile older target source files
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.