Skip to content

Instantly share code, notes, and snippets.

@maul-esel
Created June 18, 2012 15:39
Show Gist options
  • Save maul-esel/2948975 to your computer and use it in GitHub Desktop.
Save maul-esel/2948975 to your computer and use it in GitHub Desktop.
idea for ALD #include modification
<!-- this is the package definition of LibA -->
<ald:package xmlns:ald="ald://package/schema/2012" ald:id="FDBA89C73EE0476AFDE6F792FF4EC578" ald:type="lib" ald:name="AnotherTestPack" ald:version="0.0.0.7 a">
<ald:description>This is another test package to be uploaded</ald:description>
<ald:authors>
<ald:author ald:name="maul.esel"/>
</ald:authors>
<ald:dependencies> <!-- the interesting part is here! -->
<ald:dependency ald:name="LibB">
<ald:version>1.2</ald:version>
<ald:version>1.3</ald:version>
<ald:customdata>
<mrm:insertLib xmlns:mrm="marmoreal://ald/package/schema/addition" mrm:value="true" mrm:id="01"/>
</ald:customdata>
</ald:dependency>
</ald:dependencies>
<ald:requirements/>
<ald:files>
<ald:doc>
<ald:file ald:path="index.html"/>
</ald:doc>
<ald:src>
<ald:file ald:path="ald.png"/>
</ald:src>
</ald:files>
<ald:tags>
<ald:tag ald:name="another_tag"/>
</ald:tags>
<ald:links>
<ald:link ald:name="AutoHotkey" ald:description="links to the main website of AutoHotkey_L" ald:href="http://l.autohotkey.net"/>
</ald:links>
</ald:package>
; this is part of the package
; ============== some random code ==========================
MsgBox
return
Labelc:
ExitApp
return
; ================ interesting part here ==================
; {% MRM:insertLib id=01 %}
; the line above will be replaced by "#include <LibB.1.2>" or "#include <LibB.1.3>"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment