View Single Post
06-25-18, 11:51 AM   #33
KyrosKrane
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Dec 2007
Posts: 13
Originally Posted by p3lim View Post
You can however add externals' files you want to ignore for the packaging, as it's the last thing it does.
This unfortunately seems incorrect. I spent some time trying to exclude the tests subdir from LibStub, and it wouldn't work. I finally figured out why. In the release.sh script, the processing for the "ignore" directive in the .pkgmeta happens first (starting at line 549), but when externals are checked out, the ignore list is cleared before processing each checkout (line 1232). The upshot is, the release script will not apply ignore directives in your .pkgmeta to the contents of externals.

Proof of concept: Create a new project with the following .pkgmeta. Package it using release.sh. You'll see the tests subdir under Libs/LibStub is packaged.

Code:
ignore:
    - Libs/LibStub/tests

externals:
   Libs/LibStub: https://repos.wowace.com/wow/libstub/trunk
  Reply With Quote