build: build .langium file using generate from langium-cli

This commit is contained in:
Reda Al Sulais
2023-08-22 13:38:23 +03:00
parent fc96ebefd4
commit 8d0ca2c876
7 changed files with 20 additions and 13 deletions

View File

@@ -53,7 +53,7 @@ const handler = (e) => {
};
const main = async () => {
generateLangium();
await generateLangium();
await mkdir('stats').catch(() => {});
const packageNames = Object.keys(packageOptions) as (keyof typeof packageOptions)[];
// it should build `parser` before `mermaid` because it's a dependecy