Closed BrianHenryIE closed 10 months ago
@danielbachhuber Yes, please. I've further changes planned – in particular to make things faster. Currently, even when /vendor
is in the .distignore
, it's comparing every file inside vendor
against the rules!
Functionality-wise it looks good to me so far 👍 Just merged the latest changes so that tests pass again, which is a good sign too.
Adds a function/moves the logic for determining the source directory, the output directory, the output filename, and the plugin directory name the archive will extract to. Which required moving the logic to determine the plugin version into its own function too (less attention paid here).
No change in behavior indicated through the tests. This will hopefully address #76 but I do not have a Windows setup to test it on. See the added regex on line 205 which now accounts for Windows absolute paths.
Also an opportunity for some code review as suggested yesterday.