mirror of
https://github.com/dimitri/pgloader.git
synced 2026-01-24 16:41:03 +01:00
13 lines
219 B
Bash
Executable File
13 lines
219 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -ex
|
|
|
|
trap "service mysql stop" 0 2 3 15
|
|
service mysql start
|
|
|
|
cd test
|
|
pg_virtualenv -i '--auth=trust' << EOF
|
|
set -ex
|
|
make -j1 local PGLOADER=/usr/bin/pgloader PGUSER=postgres DBPATH=sqlite/sqlite.db
|
|
EOF
|