Quantcast

Add vendor includes to .toc file instead.

Peter Eliasson [07-30-16 - 19:29]
Add vendor includes to .toc file instead.

Means we can ignore the entire vendor folder in .pkgmeta, also keeps the
imports of libs in the same place as the optional deps.
Filename
.pkgmeta
GuildSkadaHighScore.toc
vendor/vendor_include.xml
diff --git a/.pkgmeta b/.pkgmeta
index 3701bf2..64a9f73 100644
--- a/.pkgmeta
+++ b/.pkgmeta
@@ -5,11 +5,7 @@ manual-changelog:
     markup-type: markdown

 ignore:
-  - vendor/LibStub
-  - vendor/CallbackHandler-1.0
-  - vendor/Ace3
-  - vendor/LibItemUpgradeInfo-1.0
-  - vendor/LibGroupInSpecT-1.1
+  - vendor

 externals:
     vendor/LibStub:
diff --git a/GuildSkadaHighScore.toc b/GuildSkadaHighScore.toc
index 4058873..30212a6 100644
--- a/GuildSkadaHighScore.toc
+++ b/GuildSkadaHighScore.toc
@@ -5,7 +5,22 @@
 ## Notes: Tracking and ranking of dps/hps in a guild.
 ## SavedVariables: GuildSkadaHighScoreDB
 ## Dependencies:
-## OptionalDeps: Ace3
+## OptionalDeps: Ace3, LibItemUpgradeInfo-1.0, LibGroupInSpecT-1.1
+
+#@no-lib-strip@
+vendor\LibStub\LibStub.lua
+vendor\CallbackHandler-1.0\CallbackHandler-1.0\CallbackHandler-1.0.xml
+vendor\Ace3\AceAddon-3.0\AceAddon-3.0.xml
+vendor\Ace3\AceConsole-3.0\AceConsole-3.0.xml
+vendor\Ace3\AceDB-3.0\AceDB-3.0.xml
+vendor\Ace3\AceEvent-3.0\AceEvent-3.0.xml
+vendor\Ace3\AceGUI-3.0\AceGUI-3.0.xml
+vendor\Ace3\AceHook-3.0\AceHook-3.0.xml
+vendor\Ace3\AceTimer-3.0\AceTimer-3.0.xml
+vendor\Ace3\AceConfig-3.0\AceConfig-3.0.xml
+
+vendor\LibItemUpgradeInfo-1.0\LibItemUpgradeInfo-1.0.xml
+vendor\LibGroupInSpecT-1.1\lib.xml
+#@end-no-lib-strip@

-vendor\vendor_include.xml
 src\src_include.xml
diff --git a/vendor/vendor_include.xml b/vendor/vendor_include.xml
deleted file mode 100644
index 5523691..0000000
--- a/vendor/vendor_include.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-<Ui xsi:schemaLocation="http://www.blizzard.com/wow/ui/ ..\..\FrameXML\UI.xsd">
-<!--@no-lib-strip@-->
-	<Script file="LibStub\LibStub.lua"/>
-
-	<Include file="CallbackHandler-1.0\CallbackHandler-1.0\CallbackHandler-1.0.xml"/>
-
-	<Include file="Ace3\AceAddon-3.0\AceAddon-3.0.xml"/>
-	<Include file="Ace3\AceConsole-3.0\AceConsole-3.0.xml"/>
-	<Include file="Ace3\AceDB-3.0\AceDB-3.0.xml"/>
-	<Include file="Ace3\AceEvent-3.0\AceEvent-3.0.xml"/>
-	<Include file="Ace3\AceGUI-3.0\AceGUI-3.0.xml"/>
-	<Include file="Ace3\AceHook-3.0\AceHook-3.0.xml"/>
-	<Include file="Ace3\AceTimer-3.0\AceTimer-3.0.xml"/>
-	<Include file="Ace3\AceConfig-3.0\AceConfig-3.0.xml"/>
-
-	<Include file="LibItemUpgradeInfo-1.0\LibItemUpgradeInfo-1.0.xml" />
-
-	<Include file="LibGroupInSpecT-1.1\lib.xml" />
-<!--@end-no-lib-strip@-->
-</Ui>
\ No newline at end of file