build: expand clientpack cleanup commands

This commit is contained in:
mappu 2017-10-15 20:20:52 +13:00
parent 15d9ee0023
commit a60d821e39
1 changed files with 5 additions and 1 deletions

View File

@ -51,6 +51,10 @@ file_put_contents('clientpack/index.htm', $html_content);
// Clean up files
`rm clientpack/{index.htm,dcwebui{.min,}.js,dcwebui{.min,}.css}`;
unlink('clientpack/index.htm');
unlink('clientpack/dcwebui.js');
unlink('clientpack/dcwebui.min.js');
unlink('clientpack/dcwebui.css');
unlink('clientpack/dcwebui.min.css');
unlink('clientpack/'.SIO_NAME);
rename('clientpack/index.min.htm', 'clientpack/index.htm');