Moved generation logic to beforeBuildFinish event (fixes #13)
Merge pull request #15 from vania-pooh/before-build-finish

Moved generation logic to beforeBuildFinish event (fixes #13)