vhdltool-wrapper.sh 260 B

123456789101112
  1. #!/bin/sh
  2. export WRAPPER_PATH=`which vhdl-tool`
  3. if [ "X" = "X$WRAPPER_PATH" ]; then
  4. echo "Content-Length: 100\r\n\r"
  5. echo '{"jsonrpc":"2.0","id":1,"error":{"code":-32099,"message":"Cannot find vhdl-tool executable in $PATH"}}'
  6. exit 1
  7. fi
  8. vhdl-tool lsp