kazurayam / CompareDirectoriesGradlePlugin

A Gradle Plugin that compares 2 directories, compiles a JSON text that shows the differences
0 stars 0 forks source link

The files under the "diffs" directory are empty, all of them #66

Open kazurayam opened 2 days ago

kazurayam commented 2 days ago

The plugin generated a "diff" folder under with a lot of files are created. But the files are there with empty content.

スクリーンショット 2024-11-11 071708

I expected the compareSourceWgot target to make unified diff output into the build\tmp\compareSourceWgot\diffs\source_www.aomori-gankaikai.jp\about\index.html file. The file was there. Bit it has 0 characters. It is empty!

kazurayam commented 2 days ago

It would take very long time to generate the unified diff information for hundreds of files.

Therefor the plugin should offer the feature optionally. Default to false. Only when I want to, I would opt the feature on and generated the detailed diff of each indivisual files.