Update URLs: e.g. spec > development/spec

master
Futago-za Ryuu 6 years ago
parent aa58b73cae
commit 71414cfb19

@ -113,13 +113,13 @@ app.get( "/download", ( req, res ) => {
} );
app.get( "/spec", ( req, res ) => {
app.get( "/development/test", ( req, res ) => {
res.render( "spec", { title: "Spec Suite" } );
res.render( "test", { title: "Test Suite" } );
} );
app.get( "/benchmark", ( req, res ) => {
app.get( "/development/benchmark", ( req, res ) => {
res.render( "benchmark", { title: "Benchmark Suite" } );
@ -134,8 +134,8 @@ babelOptions.runtimeHelpers = true;
[
{ name: "benchmark", input: "tools/benchmark/browser.js" },
{ name: "spec", input: "test/**/*.js" },
{ name: "peg", input: "packages/pegjs/lib/peg.js", format: "umd" },
{ name: "test", input: "test/**/*.js" },
].forEach( bundle => {

@ -3,8 +3,8 @@
<ul>
<li><a href="https://github.com/pegjs/pegjs/wiki">Wiki</a></li>
<li><a href="https://github.com/pegjs/pegjs">Source code</a></li>
<li><a href="/benchmark">Benchmark Suite</a></li>
<li><a href="/spec">Spec Suite</a></li>
<li><a href="/development/benchmark">Benchmark Suite</a></li>
<li><a href="/development/test">Test Suite</a></li>
<li><a href="https://github.com/pegjs/pegjs/issues">Issue tracker</a></li>
<li><a href="https://groups.google.com/group/pegjs">Google Group</a></li>
<li><a href="https://twitter.com/peg_js">Twitter</a></li>

@ -1,6 +1,6 @@
<div id="mocha"></div>
<link href="/css/spec.css" rel="stylesheet" />
<link href="/css/test.css" rel="stylesheet" />
<script src="https://unpkg.com/mocha@5.2.0/mocha.js"></script>
<script>
@ -12,5 +12,5 @@
else
document.write( "<script src='/js/spec-bundle.js' onload='mocha.run()'><\/script>" );
document.write( "<script src='/js/test-bundle.js' onload='mocha.run()'><\/script>" );
</script>
Loading…
Cancel
Save