WIP: sql-language-server

This commit is contained in:
Radon Rosborough 2021-01-18 09:31:12 -08:00
parent 50d81a4330
commit 5882471288
2 changed files with 13 additions and 7 deletions

View File

@ -10,12 +10,7 @@ install:
apt:
- sqlite
riju:
- sqls
files:
"/opt/sqlite/sqls.yml": |
connections:
- driver: sqlite3
dataSourceName: db.sqlite3
- sql-language-server
repl: |
rm -f db.sqlite3
@ -33,7 +28,7 @@ run: |
lsp:
start: |
sqls -config /opt/sqlite/sqls.yml
sql-language-server up -m stdio -d
skip:
- lsp

View File

@ -0,0 +1,11 @@
id: "sql-language-server"
install:
prepare:
apt:
- python2
manual: |
ln -s /usr/bin/python2 python
export PATH="$PWD:$PATH"
npm:
- sql-language-server