damageboy / daemaged.gitinfoplanter

Plant Git Information into .NET Assemblies using Mono.Cecil
MIT License
11 stars 2 forks source link

Check whether destination is a file or directory #9

Closed roji closed 10 years ago

roji commented 10 years ago

When planting into a single target assembly, the output path is assumed to be a path to the rewritten output assembly. If a directory is given, the program bombs inexplicably.

Add a check on the destination path (directory or file) and act accordingly