mirror of
https://github.com/iptv-org/iptv.git
synced 2024-08-25 00:01:09 +02:00
Added .nojekyll file
This commit is contained in:
parent
d0c5f917b9
commit
1a5dbcbd82
@ -14,6 +14,8 @@ function main() {
|
|||||||
parseIndex()
|
parseIndex()
|
||||||
console.log('Creating root directory...')
|
console.log('Creating root directory...')
|
||||||
createRootDirectory()
|
createRootDirectory()
|
||||||
|
console.log('Creating .nojekyll...')
|
||||||
|
createNoJekyllFile()
|
||||||
console.log('Generating index.m3u...')
|
console.log('Generating index.m3u...')
|
||||||
generateIndex()
|
generateIndex()
|
||||||
console.log('Generating index.country.m3u...')
|
console.log('Generating index.country.m3u...')
|
||||||
@ -39,6 +41,10 @@ function createRootDirectory() {
|
|||||||
helper.createDir(ROOT_DIR)
|
helper.createDir(ROOT_DIR)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function createNoJekyllFile() {
|
||||||
|
helper.createFile(`${ROOT_DIR}/.nojekyll`)
|
||||||
|
}
|
||||||
|
|
||||||
function parseIndex() {
|
function parseIndex() {
|
||||||
const root = helper.parsePlaylist('index.m3u')
|
const root = helper.parsePlaylist('index.m3u')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user