Greatly enhanced the Add-FolderOnPath to support also relative paths.
It supports ., .., and also -Relative parameter which allows also adding
the given relative path as relative path, the given Path is resolved
to the absolute path without the -Relative parameter.
[skip ci]
Common:
- extracted common code to private/Common.ps1
- removed boolean values for Parameter attributes
Invoke-Tests:
- added auto sourcing of dotenv.ps1 file if needed
- auto-exported shared libraries paths in the current build folder
- added nice log messages for above two scenarios
Add-FolderOnPath:
- added nice log messages for above two scenarios
- extracted some code to cmdlets for shorter process block