Browse Source

adding command dependency

tags/v8.0.0alpha1
Thomas Müller 9 years ago
parent
commit
086ec3de15
2 changed files with 17 additions and 1 deletions
  1. 15
    1
      tests/data/app/expected-info.json
  2. 2
    0
      tests/data/app/valid-info.xml

+ 15
- 1
tests/data/app/expected-info.json View File

@@ -32,6 +32,20 @@
"@value": "sqlite"},
"mysql"
]
}
},
"command": [
{
"@attributes" : {
"os": "linux"
},
"@value": "grep"
},
{
"@attributes" : {
"os": "windows"
},
"@value": "notepad.exe"
}
]
}
}

+ 2
- 0
tests/data/app/valid-info.xml View 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>

Loading…
Cancel
Save