Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Summpot committed Oct 30, 2023
1 parent 1f9ee69 commit adcc6b4
Show file tree
Hide file tree
Showing 5 changed files with 78 additions and 82 deletions.
34 changes: 17 additions & 17 deletions src/NativeLibrary/tree-sitter-c/tree-sitter-c.runtime.csproj
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
<Project Sdk="Microsoft.Build.NoTargets">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<IsPackable>true</IsPackable>
<PackageId>$(AssemblyName).$(RuntimeIdentifier)</PackageId>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<PackageOutputPath>..\..\..\nupkgs</PackageOutputPath>
</PropertyGroup>
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<IsPackable>true</IsPackable>
<PackageId>$(AssemblyName).$(RuntimeIdentifier)</PackageId>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<PackageOutputPath>..\..\..\nupkgs</PackageOutputPath>
</PropertyGroup>

<Target Name="BuildNative" BeforeTargets="Build">
<MSBuild Projects="..\..\..\native\tree-sitter-c\tree-sitter-c.cproj">
</MSBuild>
<ItemGroup>
<ProjectReference Include="..\..\..\native\tree-sitter-c\tree-sitter-c.cproj"></ProjectReference>
<None Include="bin\$(Configuration)\$(RuntimeIdentifier)\*">
<Link>%(Filename)%(Extension)</Link>
<Pack>true</Pack>
<PackagePath>runtimes\$(RuntimeIdentifier)\native</PackagePath>
</None>
</ItemGroup>

<ItemGroup>
<None Include="bin\$(Configuration)\$(RuntimeIdentifier)\*">
<Link>%(Filename)%(Extension)</Link>
<Pack>true</Pack>
<PackagePath>runtimes\$(RuntimeIdentifier)\native</PackagePath>
</None>
</ItemGroup>
</Project>
</Target>
</Project>
21 changes: 10 additions & 11 deletions src/NativeLibrary/tree-sitter-cpp/tree-sitter-cpp.runtime.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,15 @@
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<PackageOutputPath>..\..\..\nupkgs</PackageOutputPath>
</PropertyGroup>

<Target Name="BuildNative" BeforeTargets="Build">
<MSBuild Projects="..\..\..\native\tree-sitter-cpp\tree-sitter-cpp.cproj">
</MSBuild>
<ItemGroup>
<ProjectReference Include="..\..\..\native\tree-sitter-cpp\tree-sitter-cpp.cproj"></ProjectReference>
<None Include="bin\$(Configuration)\$(RuntimeIdentifier)\*">
<Link>%(Filename)%(Extension)</Link>
<Pack>true</Pack>
<PackagePath>runtimes\$(RuntimeIdentifier)\native</PackagePath>
</None>
</ItemGroup>

<ItemGroup>
<None Include="bin\$(Configuration)\$(RuntimeIdentifier)\*">
<Link>%(Filename)%(Extension)</Link>
<Pack>true</Pack>
<PackagePath>runtimes\$(RuntimeIdentifier)\native</PackagePath>
</None>
</ItemGroup>
</Project>
</Target>
</Project>
35 changes: 17 additions & 18 deletions src/NativeLibrary/tree-sitter-json/tree-sitter-json.runtime.csproj
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
<Project Sdk="Microsoft.Build.NoTargets">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<IsPackable>true</IsPackable>
<PackageId>$(AssemblyName).$(RuntimeIdentifier)</PackageId>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<PackageOutputPath>..\..\..\nupkgs</PackageOutputPath>
</PropertyGroup>

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<IsPackable>true</IsPackable>
<PackageId>$(AssemblyName).$(RuntimeIdentifier)</PackageId>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<PackageOutputPath>..\..\..\nupkgs</PackageOutputPath>
</PropertyGroup>
<Target Name="BuildNative" BeforeTargets="Build">
<MSBuild Projects="..\..\..\native\tree-sitter-json\tree-sitter-json.cproj">
</MSBuild>
<ItemGroup>
<ProjectReference Include="..\..\..\native\tree-sitter-json\tree-sitter-json.cproj"></ProjectReference>
<None Include="bin\$(Configuration)\$(RuntimeIdentifier)\*">
<Link>%(Filename)%(Extension)</Link>
<Pack>true</Pack>
<PackagePath>runtimes\$(RuntimeIdentifier)\native</PackagePath>
</None>
</ItemGroup>

<ItemGroup>
<None Include="bin\$(Configuration)\$(RuntimeIdentifier)\*">
<Link>%(Filename)%(Extension)</Link>
<Pack>true</Pack>
<PackagePath>runtimes\$(RuntimeIdentifier)\native</PackagePath>
</None>
</ItemGroup>
</Project>
</Target>
</Project>
35 changes: 17 additions & 18 deletions src/NativeLibrary/tree-sitter-lua/tree-sitter-lua.runtime.csproj
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
<Project Sdk="Microsoft.Build.NoTargets">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<IsPackable>true</IsPackable>
<PackageId>$(AssemblyName).$(RuntimeIdentifier)</PackageId>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<PackageOutputPath>..\..\..\nupkgs</PackageOutputPath>
</PropertyGroup>

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<IsPackable>true</IsPackable>
<PackageId>$(AssemblyName).$(RuntimeIdentifier)</PackageId>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<PackageOutputPath>..\..\..\nupkgs</PackageOutputPath>
</PropertyGroup>
<Target Name="BuildNative" BeforeTargets="Build">
<MSBuild Projects="..\..\..\native\tree-sitter-lua\tree-sitter-lua.cproj">
</MSBuild>
<ItemGroup>
<ProjectReference Include="..\..\..\native\tree-sitter-lua\tree-sitter-lua.cproj"></ProjectReference>
<None Include="bin\$(Configuration)\$(RuntimeIdentifier)\*">
<Link>%(Filename)%(Extension)</Link>
<Pack>true</Pack>
<PackagePath>runtimes\$(RuntimeIdentifier)\native</PackagePath>
</None>
</ItemGroup>

<ItemGroup>
<None Include="bin\$(Configuration)\$(RuntimeIdentifier)\*">
<Link>%(Filename)%(Extension)</Link>
<Pack>true</Pack>
<PackagePath>runtimes\$(RuntimeIdentifier)\native</PackagePath>
</None>
</ItemGroup>
</Project>
</Target>
</Project>
35 changes: 17 additions & 18 deletions src/NativeLibrary/tree-sitter/tree-sitter.runtime.csproj
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
<Project Sdk="Microsoft.Build.NoTargets">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<IsPackable>true</IsPackable>
<PackageId>$(AssemblyName).$(RuntimeIdentifier)</PackageId>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<PackageOutputPath>..\..\..\nupkgs</PackageOutputPath>
</PropertyGroup>

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<IsPackable>true</IsPackable>
<PackageId>$(AssemblyName).$(RuntimeIdentifier)</PackageId>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<PackageOutputPath>..\..\..\nupkgs</PackageOutputPath>
</PropertyGroup>
<Target Name="BuildNative" BeforeTargets="Build">
<MSBuild Projects="..\..\..\native\tree-sitter\tree-sitter.cproj">
</MSBuild>
<ItemGroup>
<ProjectReference Include="..\..\..\native\tree-sitter\tree-sitter.cproj"></ProjectReference>
<None Include="bin\$(Configuration)\$(RuntimeIdentifier)\*">
<Link>%(Filename)%(Extension)</Link>
<Pack>true</Pack>
<PackagePath>runtimes\$(RuntimeIdentifier)\native</PackagePath>
</None>
</ItemGroup>

<ItemGroup>
<None Include="bin\$(Configuration)\$(RuntimeIdentifier)\*">
<Link>%(Filename)%(Extension)</Link>
<Pack>true</Pack>
<PackagePath>runtimes\$(RuntimeIdentifier)\native</PackagePath>
</None>
</ItemGroup>
</Project>
</Target>
</Project>

0 comments on commit adcc6b4

Please sign in to comment.