Commit 43a6cfe2 by Иван Кубота

Added list of builds

parent 356ec6de
......@@ -59,4 +59,9 @@ Object
fs.writeFileSync( latest+'.map', map );
console.log( `Build ${dest} ${( code.length / 1024 ).toFixed( 2 )}K` )
}
fs.writeFileSync( 'index.html', fs.readFileSync('list.html', 'utf-8')
.replace('$LIST$', `
${fs.readdirSync(dir).filter(a=>a[0]!=='.').map(a=>`<li><a href="build/${a}">${a}</a></li>`).join('\n')}
`)
);
})();
\ No newline at end of file
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>vanilla version list</title>
<style>
* {
font-family: monospace;
}
li {
list-style-type: georgian;
margin: 8px;
}
</style>
</head>
<body>
<h1>Vanilla library builds list</h1>
<ul>
$LIST$
</ul>
</body>
</html>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment