gaelcolas / SampleModule

Sample module to experiment with build pipeline
MIT License
42 stars 8 forks source link

Fixed class loader #9

Closed indented-automation closed 7 years ago

indented-automation commented 7 years ago

The class loader is a nasty bit of code dependent on a rather unpleasant data structure. There's no need to use Resolve-Path if there are no wildcards, it's been taken out leaving Test-Path.

This should allow the new unit tests to test the class implementation.

gaelcolas commented 7 years ago

Actually I was thinking about dropping the classes.psd1, however I'm not too sure what's the best to manage the ordering and keeping it DRY. (same problem, I want to be able to load the module in dev without build/compile).