Contributing page

This commit is contained in:
Angelos Chalaris
2018-09-08 14:53:08 +03:00
parent f7f09dcd76
commit 987d840fd9
3 changed files with 166 additions and 0 deletions

View File

@ -443,6 +443,14 @@ try {
console.log(`${chalk.red('ERROR!')} During about.html copying: ${err}`);
process.exit(1);
}
// Copy contributing.html
try {
fs.copyFileSync(path.join(staticPartsPath, 'contributing.html'), path.join(docsPath, 'contributing.html'));
console.log(`${chalk.green('SUCCESS!')} contributing.html file copied!`);
} catch (err) {
console.log(`${chalk.red('ERROR!')} During contributing.html copying: ${err}`);
process.exit(1);
}
// Log the time taken
console.timeEnd('Webber');