Moved command attribute from <requires> to <executable-in-*> element
[zeroinstall.git] / tests / runnable / Runnable.xml
blob9a3e1cc0ccea5d620b93cb1b6f71cbb8620c905e
1 <?xml version="1.0" ?>
2 <interface xmlns="http://zero-install.sourceforge.net/2004/injector/interface">
3   <name>Runnable</name>
4   <summary>test script that needs a runner</summary>
6   <implementation id="test" local-path="." version="1">
7     <command name="run" path="script">
8       <runner interface='./Runner.xml' command='runme'>
9         <arg>arg-for-runner</arg>
10       </runner>
11       <arg>command-arg</arg>
12       <arg>--</arg>
13     </command>
14     <command name="foo" path="script">
15       <runner interface='./Runner.xml' command='runme'>
16         <arg>arg-for-runner</arg>
17       </runner>
18       <arg>foo-arg</arg>
19       <arg>--</arg>
20     </command>
21   </implementation>
22 </interface>