This is for building files required for https://github.com/launchql/node-pg-query-native which is a dependancy for https://github.com/launchql/pg-query-parser
first download the libpg_query
into the root of this project:
git clone git@github.com:lfittl/libpg_query.git
start the server
docker run -d \
-it \
--name build_pg_query \
--mount type=bind,source="$(pwd)"/libpg_query,target=/pg_query \
pyramation/libpg_query
for example of what happens, check this
libpg_query/linux/libpg_query.a
https://github.com/launchql/node-pg-query-native/commit/cff633ea55effb719c59b726bc1c6e838bd7c511