|
|
@@ -300,6 +300,9 @@ dump_versions(APIs) ->
|
|
|
logger:notice("Dumping API versions to ~p", [Filename]),
|
|
|
ok = filelib:ensure_dir(Filename),
|
|
|
{ok, FD} = file:open(Filename, [write]),
|
|
|
+ io:format(
|
|
|
+ FD, "%% This file is automatically generated by `make static_checks`, do not edit.~n", []
|
|
|
+ ),
|
|
|
lists:foreach(
|
|
|
fun(API) ->
|
|
|
ok = io:format(FD, "~p.~n", [API])
|