Skip to content

Commit 9fe561d

Browse files
committed
add script logging
Signed-off-by: Akhil Pillai <ackledotdev@gmail.com>
1 parent 157b0b8 commit 9fe561d

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

scripts/refreshLangSpec.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ const URLs = {
1010
'https://raw.githubusercontent.com/Transconlang/translang/refs/heads/main/rawspec/0-complete.json'
1111
};
1212

13+
console.log('Fetching language specification...');
14+
1315
const Specs = {
1416
Catted: await fetch(URLs.Catted).then(
1517
res => res.json() as Promise<BigSection[]>
@@ -19,6 +21,8 @@ const Specs = {
1921
)
2022
};
2123

24+
console.log('Writing data...');
25+
2226
const DestDir = join(
2327
dirname(fileURLToPath(import.meta.url)),
2428
'..',
@@ -35,3 +39,6 @@ await writeFile(
3539
)
3640
)
3741
);
42+
43+
console.log('Done.');
44+

0 commit comments

Comments
 (0)