Re-enable sqls for all databases

This reverts commit 97b1f05118 now that
https://github.com/lighttiger2505/sqls/issues/39 is solved.
This commit is contained in:
Radon Rosborough 2021-02-07 09:07:41 -08:00
parent ab43225e21
commit d4ab62307f
4 changed files with 28 additions and 1 deletions

View File

@ -8,6 +8,8 @@ install:
- libaio1
- libtinfo5
- mysql-client
riju:
- sqls
manual: |
install -d "${pkg}/opt/mariadb"
@ -41,3 +43,10 @@ run: |
sleep 0.01
done
(mysql --socket=socket < main.sql; mysql --socket=socket)
lsp:
start: |
sqls
skip:
- lsp

View File

@ -7,6 +7,8 @@ install:
apt:
- mysql-server
- mysql-client
riju:
- sqls
repl: |
rm -rf data
@ -32,3 +34,10 @@ run: |
sleep 0.01
done
(mysql --socket="$PWD/socket" -u root < main.sql; mysql --socket="$PWD/socket" -u root)
lsp:
start: |
sqls
skip:
- lsp

View File

@ -11,6 +11,8 @@ install:
apt:
- postgresql
- postgresql-client
riju:
- sqls
repl: |
rm -rf data
@ -36,3 +38,10 @@ run: |
set +e
psql -h "$PWD/data" postgres -f main.sql
psql -h "$PWD/data" postgres
lsp:
start: |
sqls
skip:
- lsp

View File

@ -9,5 +9,5 @@ install:
export GO111MODULE=on
export GOPATH="$PWD/go"
go get github.com/lighttiger2505/sqls
go get github.com/lighttiger2505/sqls@master
cp go/bin/sqls "${pkg}/usr/local/bin/"