Skip to content

Error/warning if output folders contain non JNIgen files #728

Closed
@dcharkes

Description

@dcharkes

If I remove a class from the input, and it's the last one in the package currently (and after dart-archive/jnigen#98 just by itself), the old file will linger around.

I think we should delete all contents in the output folder before generating.

Moreover, we should probably check if there are any files that were not created by jnigen, and error if there are any.

  • Make all generated files recognizable (maybe they already are)
  • Error if there are non JNIgen files in output folders
  • Empty the output folders before generating

Metadata

Metadata

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions