]> source.dussan.org Git - nextcloud-server.git/commitdiff
adding command dependency
authorThomas Müller <thomas.mueller@tmit.eu>
Tue, 2 Dec 2014 11:10:04 +0000 (12:10 +0100)
committerThomas Müller <thomas.mueller@tmit.eu>
Thu, 4 Dec 2014 10:40:33 +0000 (11:40 +0100)
tests/data/app/expected-info.json
tests/data/app/valid-info.xml

index 6da69fb9ad75866bbcb1d99f3cdecba8ab6c3ec9..8ab6e48ac6dd015e40fd419956a88da81bbe8c44 100644 (file)
                                        "@value": "sqlite"},
                                "mysql"
                        ]
-               }
+               },
+               "command": [
+                       {
+                               "@attributes" : {
+                                       "os": "linux"
+                               },
+                               "@value": "grep"
+                       },
+                       {
+                               "@attributes" : {
+                                       "os": "windows"
+                               },
+                               "@value": "notepad.exe"
+                       }
+               ]
        }
 }
index cdb688c6b3f57241e3ea5b0eb474fbd2cd3db4ec..354a39832fb6f02ac4f4777faf11c510bb860687 100644 (file)
@@ -25,5 +25,7 @@
                        <database min-version="3.0">sqlite</database>
                        <database>mysql</database>
                </databases>
+               <command os="linux">grep</command>
+               <command os="windows">notepad.exe</command>
        </dependencies>
 </info>