1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
/**
* @fileoverview Build file
* @author nzakas
*/
/* global cp, echo, rm */
/* eslint no-console: 0*/
//------------------------------------------------------------------------------
// Requirements
//------------------------------------------------------------------------------
import "shelljs/make.js";
//------------------------------------------------------------------------------
// Data
//------------------------------------------------------------------------------
const DOCS_DIR = "./docs";
//------------------------------------------------------------------------------
// Tasks
//------------------------------------------------------------------------------
echo("Syncing README.md from root with docs/README.md");
rm("-r", `${DOCS_DIR}/README.md`);
cp("README.md", DOCS_DIR);
echo("Done. ");
|