Commit updated Javascript packages

This commit is contained in:
Owncast
2020-10-20 05:15:30 +00:00
parent 3f50ce9bfc
commit 8425930eed
6368 changed files with 603959 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
'use strict';
const m3u8 = require('./export-m3u8s.js');
const args = require('minimist')(process.argv.slice(2), {
boolean: ['watch', 'clean', 'build'],
default: {
build: true
},
alias: {
b: 'build',
c: 'clean',
w: 'watch'
}
});
if (args.w) {
m3u8.watch();
} else if (args.c) {
m3u8.clean();
} else if (args.b) {
m3u8.build();
}