First release
This commit is contained in:
commit
fa6c85266e
2339 changed files with 761050 additions and 0 deletions
14
node_modules/mpd-parser/scripts/netlify.js
generated
vendored
Normal file
14
node_modules/mpd-parser/scripts/netlify.js
generated
vendored
Normal file
|
@ -0,0 +1,14 @@
|
|||
const path = require('path');
|
||||
const sh = require('shelljs');
|
||||
|
||||
const files = ['dist', 'index.html'];
|
||||
const deployDir = 'deploy';
|
||||
|
||||
// cleanup previous deploy
|
||||
sh.rm('-rf', deployDir);
|
||||
// make sure the directory exists
|
||||
sh.mkdir('-p', deployDir);
|
||||
|
||||
// copy over dist, and html files
|
||||
files
|
||||
.forEach((file) => sh.cp('-r', file, path.join(deployDir, file)));
|
Loading…
Add table
Add a link
Reference in a new issue