build(aio): ignore example files that are gitignored
Rather than hard coding excludes into the dgeni config, use the fact that we are already ignoring the boilerplate and generated files via the .gitignore file.
This commit is contained in:

committed by
Pete Bacon Darwin

parent
e894f5c399
commit
3db6b6ca7a
@ -6,6 +6,7 @@ const AIO_PATH = resolve(PROJECT_ROOT, 'aio');
|
||||
const TEMPLATES_PATH = resolve(AIO_PATH, 'tools/transforms/templates');
|
||||
const API_TEMPLATES_PATH = resolve(TEMPLATES_PATH, 'api');
|
||||
const CONTENTS_PATH = resolve(AIO_PATH, 'content');
|
||||
const GUIDE_EXAMPLES_PATH = resolve(CONTENTS_PATH, 'examples');
|
||||
const SRC_PATH = resolve(AIO_PATH, 'src');
|
||||
const OUTPUT_PATH = resolve(SRC_PATH, 'generated');
|
||||
const DOCS_OUTPUT_PATH = resolve(OUTPUT_PATH, 'docs');
|
||||
@ -18,5 +19,5 @@ function requireFolder(dirname, folderPath) {
|
||||
.map(p => require(resolve(absolutePath, p)));
|
||||
}
|
||||
|
||||
module.exports = { PROJECT_ROOT, AIO_PATH, TEMPLATES_PATH, API_TEMPLATES_PATH, CONTENTS_PATH, SRC_PATH, OUTPUT_PATH, DOCS_OUTPUT_PATH, API_SOURCE_PATH, requireFolder };
|
||||
module.exports = { PROJECT_ROOT, AIO_PATH, TEMPLATES_PATH, API_TEMPLATES_PATH, CONTENTS_PATH, GUIDE_EXAMPLES_PATH, SRC_PATH, OUTPUT_PATH, DOCS_OUTPUT_PATH, API_SOURCE_PATH, requireFolder };
|
||||
|
||||
|
Reference in New Issue
Block a user