mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +01:00
054d124afe
Many thanks to all the other developers who made this possible, especially Shoelace
15 lines
528 B
JavaScript
15 lines
528 B
JavaScript
//
|
|
// This script runs the Custom Elements Manifest analyzer to generate custom-elements.json
|
|
//
|
|
|
|
import {execSync} from 'child_process';
|
|
import commandLineArgs from 'command-line-args';
|
|
|
|
const {outdir} = commandLineArgs([
|
|
{name: 'outdir', type: String},
|
|
{name: 'watch', type: Boolean}
|
|
]);
|
|
|
|
execSync(`cem analyze --config "doc/etemplate2/custom-elements-manifest.config.mjs" --outdir "${outdir}"`, {stdio: 'inherit'});
|
|
//execSync(`cem analyze --globs "api/js/etemplate/Et2Widget" --outdir "${outdir}"`, {stdio: 'inherit'});
|