Update generate.js

This commit is contained in:
freearhey 2021-02-11 07:38:35 +03:00
parent dac7d302ea
commit c10c6a3ef1
1 changed files with 5 additions and 0 deletions

View File

@ -6,6 +6,7 @@ const ROOT_DIR = './.gh-pages'
db.load() db.load()
function main() { function main() {
start()
createRootDirectory() createRootDirectory()
createNoJekyllFile() createNoJekyllFile()
generateIndex() generateIndex()
@ -192,6 +193,10 @@ function generateLanguages() {
} }
} }
function start() {
console.log(`Starting...`)
}
function finish() { function finish() {
console.log( console.log(
`Countries: ${db.countries.count()}. Languages: ${db.languages.count()}. Categories: ${db.categories.count()}. Channels: ${db.channels.count()}.` `Countries: ${db.countries.count()}. Languages: ${db.languages.count()}. Categories: ${db.categories.count()}. Channels: ${db.channels.count()}.`