|
9 | 9 | <PackageVersion>0.0.1</PackageVersion> |
10 | 10 | <Title>PgQuery.NET</Title> |
11 | 11 | <Authors>Jônatas Davi Paganini</Authors> |
12 | | - <Description>A .NET wrapper for libpg_query - parse, normalize, and fingerprint PostgreSQL queries using the actual PostgreSQL parser</Description> |
13 | | - <PackageTags>postgresql;sql;parser;ast;libpg_query;pgquery</PackageTags> |
| 12 | + <Description> |
| 13 | + A .NET wrapper for libpg_query - parse, normalize, and fingerprint PostgreSQL queries using the actual PostgreSQL parser. |
| 14 | + You can also use it to analyze queries and find patterns using a simple DSL inspired by grep. |
| 15 | + It's a wrapper for the [libpg_query](https://github.com/pganalyze/libpg_query) library, which is a C library that provides a parser for PostgreSQL. |
| 16 | + Uses protobuf to serialize and deserialize the AST. |
| 17 | + </Description> |
| 18 | + <PackageTags>postgresql;sql;parser;search;grep;cli;libpg_query;pgquery;ast;query;analysis;pattern;matching;find;replace;rewrite</PackageTags> |
14 | 19 | <RepositoryUrl>https://github.com/jonatas/pgquery-dotnet</RepositoryUrl> |
15 | 20 | <PackageLicenseExpression>MIT</PackageLicenseExpression> |
16 | 21 | <PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance> |
|
33 | 38 |
|
34 | 39 | <PropertyGroup> |
35 | 40 | <!-- Define native library names for different platforms --> |
36 | | - <PgQueryLibWin>pg_query.dll</PgQueryLibWin> |
37 | | - <PgQueryLibLinux>libpg_query.so</PgQueryLibLinux> |
38 | | - <PgQueryLibMac>libpg_query.dylib</PgQueryLibMac> |
39 | 41 | <PgQueryWrapperWin>pgquery_wrapper.dll</PgQueryWrapperWin> |
40 | 42 | <PgQueryWrapperLinux>libpgquery_wrapper.so</PgQueryWrapperLinux> |
41 | 43 | <PgQueryWrapperMac>libpgquery_wrapper.dylib</PgQueryWrapperMac> |
|
52 | 54 |
|
53 | 55 | <!-- Native libraries for Windows --> |
54 | 56 | <ItemGroup Condition="$([MSBuild]::IsOSPlatform('Windows'))"> |
55 | | - <Content Include="runtimes\win-x64\native\$(PgQueryLibWin)"> |
56 | | - <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> |
57 | | - <PackagePath>runtimes\win-x64\native\$(PgQueryLibWin)</PackagePath> |
58 | | - <Pack>true</Pack> |
59 | | - </Content> |
60 | 57 | <Content Include="runtimes\win-x64\native\$(PgQueryWrapperWin)"> |
61 | 58 | <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> |
62 | 59 | <PackagePath>runtimes\win-x64\native\$(PgQueryWrapperWin)</PackagePath> |
63 | 60 | <Pack>true</Pack> |
64 | 61 | </Content> |
65 | | - <Content Include="runtimes\win-x86\native\$(PgQueryLibWin)"> |
66 | | - <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> |
67 | | - <PackagePath>runtimes\win-x86\native\$(PgQueryLibWin)</PackagePath> |
68 | | - <Pack>true</Pack> |
69 | | - </Content> |
70 | 62 | <Content Include="runtimes\win-x86\native\$(PgQueryWrapperWin)"> |
71 | 63 | <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> |
72 | 64 | <PackagePath>runtimes\win-x86\native\$(PgQueryWrapperWin)</PackagePath> |
73 | 65 | <Pack>true</Pack> |
74 | 66 | </Content> |
75 | | - <Content Include="runtimes\win-arm64\native\$(PgQueryLibWin)"> |
76 | | - <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> |
77 | | - <PackagePath>runtimes\win-arm64\native\$(PgQueryLibWin)</PackagePath> |
78 | | - <Pack>true</Pack> |
79 | | - </Content> |
80 | 67 | <Content Include="runtimes\win-arm64\native\$(PgQueryWrapperWin)"> |
81 | 68 | <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> |
82 | 69 | <PackagePath>runtimes\win-arm64\native\$(PgQueryWrapperWin)</PackagePath> |
|
92 | 79 |
|
93 | 80 | <!-- Native libraries for Linux --> |
94 | 81 | <ItemGroup Condition="$([MSBuild]::IsOSPlatform('Linux'))"> |
95 | | - <Content Include="runtimes\linux-x64\native\$(PgQueryLibLinux)"> |
96 | | - <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> |
97 | | - <PackagePath>runtimes\linux-x64\native\$(PgQueryLibLinux)</PackagePath> |
98 | | - <Pack>true</Pack> |
99 | | - </Content> |
100 | 82 | <Content Include="runtimes\linux-x64\native\$(PgQueryWrapperLinux)"> |
101 | 83 | <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> |
102 | 84 | <PackagePath>runtimes\linux-x64\native\$(PgQueryWrapperLinux)</PackagePath> |
103 | 85 | <Pack>true</Pack> |
104 | 86 | </Content> |
105 | | - <Content Include="runtimes\linux-arm64\native\$(PgQueryLibLinux)"> |
106 | | - <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> |
107 | | - <PackagePath>runtimes\linux-arm64\native\$(PgQueryLibLinux)</PackagePath> |
108 | | - <Pack>true</Pack> |
109 | | - </Content> |
110 | 87 | <Content Include="runtimes\linux-arm64\native\$(PgQueryWrapperLinux)"> |
111 | 88 | <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> |
112 | 89 | <PackagePath>runtimes\linux-arm64\native\$(PgQueryWrapperLinux)</PackagePath> |
|
122 | 99 |
|
123 | 100 | <!-- Native libraries for macOS --> |
124 | 101 | <ItemGroup Condition="$([MSBuild]::IsOSPlatform('OSX'))"> |
125 | | - <Content Include="runtimes\osx-x64\native\$(PgQueryLibMac)"> |
126 | | - <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> |
127 | | - <PackagePath>runtimes\osx-x64\native\$(PgQueryLibMac)</PackagePath> |
128 | | - <Pack>true</Pack> |
129 | | - </Content> |
130 | 102 | <Content Include="runtimes\osx-x64\native\$(PgQueryWrapperMac)"> |
131 | 103 | <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> |
132 | 104 | <PackagePath>runtimes\osx-x64\native\$(PgQueryWrapperMac)</PackagePath> |
133 | 105 | <Pack>true</Pack> |
134 | 106 | </Content> |
135 | | - <Content Include="runtimes\osx-arm64\native\$(PgQueryLibMac)"> |
136 | | - <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> |
137 | | - <PackagePath>runtimes\osx-arm64\native\$(PgQueryLibMac)</PackagePath> |
138 | | - <Pack>true</Pack> |
139 | | - </Content> |
140 | 107 | <Content Include="runtimes\osx-arm64\native\$(PgQueryWrapperMac)"> |
141 | 108 | <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> |
142 | 109 | <PackagePath>runtimes\osx-arm64\native\$(PgQueryWrapperMac)</PackagePath> |
|
0 commit comments