tree-sitter: print { lib }: in update script

This commit is contained in:
Roman Volosatovs 2022-01-24 12:15:56 +01:00
parent d5a2fbcf8d
commit a7c14c9aa9
No known key found for this signature in database
GPG Key ID: 216DD5F8CA6618A1

View File

@ -436,7 +436,8 @@ let
mkdir -p "$outputDir"
${foreachSh allGrammars
({name, orga, repo}: ''${updateGrammar { inherit orga repo; }} > $outputDir/${name}.json'')}
( echo "{"
( echo "{ lib }:"
echo "{"
${foreachSh allGrammars
({name, ...}: ''
# indentation hack