Automatic update from web-platform-tests Add a DNS server to tools.serve This provides another means of mapping hosts, for cases where using a local DNS server is the simplest solution. Currently, this can only be started via `wpt serve --enable-dns`; this may be started automatically for some browsers in the future. There is also a `--wildcard-dns=N` which instead of merely mapping the current config's domains instead maps all subdomains N deep, only excluding the config's not_subdomains. -- wpt-commits: 6e3902a9946f1d3a11e98fcc4d3c25cc953f56df wpt-pr: 52416
28 lines
586 B
JSON
28 lines
586 B
JSON
{
|
|
"serve": {
|
|
"path": "serve.py",
|
|
"script": "run",
|
|
"parser": "get_parser",
|
|
"help": "Run wptserve server",
|
|
"virtualenv": true,
|
|
"conditional_requirements": {
|
|
"commandline_flag": {
|
|
"webtransport_h3": [
|
|
"../webtransport/requirements.txt"
|
|
],
|
|
"dns": [
|
|
"requirements_dns.txt"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"serve-wave": {
|
|
"path": "wave.py",
|
|
"script": "run",
|
|
"parser": "get_parser",
|
|
"help": "Run wptserve server for WAVE",
|
|
"virtualenv": true,
|
|
"requirements": ["../wave/requirements.txt"]
|
|
}
|
|
}
|