mirror of
https://github.com/Myzel394/config-lsp.git
synced 2025-06-18 15:05:28 +02:00
19 lines
578 B
Bash
Executable File
19 lines
578 B
Bash
Executable File
#!/bin/sh
|
|
|
|
ROOT=$(git rev-parse --show-toplevel)/server
|
|
|
|
# aliases
|
|
cd $ROOT/handlers/aliases && antlr4 -Dlanguage=Go -o ast/parser Aliases.g4
|
|
|
|
# sshd_config
|
|
cd $ROOT/handlers/sshd_config && antlr4 -Dlanguage=Go -o ast/parser Config.g4
|
|
cd $ROOT/handlers/sshd_config/match-parser && antlr4 -Dlanguage=Go -o parser Match.g4
|
|
|
|
# ssh_config
|
|
cd $ROOT/handlers/ssh_config && antlr4 -Dlanguage=Go -o ast/parser Config.g4
|
|
cd $ROOT/handlers/ssh_config/match-parser && antlr4 -Dlanguage=Go -o parser Match.g4
|
|
|
|
# hosts
|
|
cd $ROOT/handlers/hosts && antlr4 -Dlanguage=Go -o ast/parser Hosts.g4
|
|
|