1- <Project Sdk =" Microsoft.NET.Sdk" >
1+ <Project Sdk =" Microsoft.NET.Sdk" >
2+ <PropertyGroup >
3+ <TargetFramework >net7.0</TargetFramework >
4+ <GeneratePackageOnBuild >true</GeneratePackageOnBuild >
5+ <Description >Python Package of SharpEngine - 2D Game Engine</Description >
6+ <PackageProjectUrl />
7+ <Authors >LavaPower</Authors >
8+ <Company >LavaPower</Company >
9+ <Copyright >Copyright (c) LavaPower 2021-2023</Copyright >
10+ <PackageLicenseExpression >MIT</PackageLicenseExpression >
11+ <PackageProjectUrl >https://github.com/SharpEngine/SharpEngine.Python</PackageProjectUrl >
12+ <PackageVersion >1.0.0</PackageVersion >
13+ <AllowUnsafeBlocks >true</AllowUnsafeBlocks >
14+ <PackageReadmeFile >README.md</PackageReadmeFile >
15+ <EnablePackageValisation >true</EnablePackageValisation >
16+ <GenerateDocumentationFile >true</GenerateDocumentationFile >
17+ <RepositoryUrl >https://github.com/SharpEngine/SharpEngine.Python</RepositoryUrl >
18+ <RepositoryType >git</RepositoryType >
19+ <PackageTags >Raylib,SharpEngine,Game,Engine</PackageTags >
20+ <Nullable >enable</Nullable >
21+ </PropertyGroup >
22+ <ItemGroup >
23+ <None Include =" ../CHANGELOG.md" Pack =" true" PackagePath =" \" />
24+ <None Include =" ../README.md" Pack =" true" PackagePath =" \" />
25+ </ItemGroup >
26+ <ItemGroup >
27+ <PackageReference Include =" pythonnet" Version =" 3.0.2" />
28+ <PackageReference Include =" SharpEngine.Core" Version =" 1.4.0" />
29+ </ItemGroup >
230
3- <PropertyGroup >
4- <TargetFramework >net7.0</TargetFramework >
5- <GeneratePackageOnBuild >true</GeneratePackageOnBuild >
6- <Description >Python Package of SharpEngine - 2D Game Engine</Description >
7- <PackageProjectUrl />
8- <Authors >LavaPower</Authors >
9- <Company >LavaPower</Company >
10- <Copyright >Copyright (c) LavaPower 2021-2023</Copyright >
11- <PackageLicenseExpression >MIT</PackageLicenseExpression >
12- <PackageProjectUrl >https://github.com/SharpEngine/SharpEngine.Python</PackageProjectUrl >
13- <PackageVersion >1.0.0</PackageVersion >
14- <AllowUnsafeBlocks >true</AllowUnsafeBlocks >
15- <PackageReadmeFile >README.md</PackageReadmeFile >
16- <EnablePackageValisation >true</EnablePackageValisation >
17- <GenerateDocumentationFile >true</GenerateDocumentationFile >
18- <RepositoryUrl >https://github.com/SharpEngine/SharpEngine.Python</RepositoryUrl >
19- <RepositoryType >git</RepositoryType >
20- <PackageTags >Raylib,SharpEngine,Game,Engine</PackageTags >
21- <Nullable >enable</Nullable >
22- </PropertyGroup >
23-
24- <ItemGroup >
25- <None Include =" ../CHANGELOG.md" Pack =" true" PackagePath =" \" />
26- <None Include =" ../README.md" Pack =" true" PackagePath =" \" />
27- </ItemGroup >
28-
29- <ItemGroup >
30- <PackageReference Include =" pythonnet" Version =" 3.0.2" />
31- <PackageReference Include =" SharpEngine.Core" Version =" 1.4.0" />
32- </ItemGroup >
33- </Project >
31+ <!-- set HUSKY to 0 in CI\/CD disable this -->
32+ <Target Name =" Husky" BeforeTargets =" Restore;CollectPackageReferences" Condition =" '$(HUSKY)' != 0" >
33+ <Exec Command =" dotnet tool restore" StandardOutputImportance =" Low" StandardErrorImportance =" High" />
34+ <Exec Command =" dotnet husky install" StandardOutputImportance =" Low" StandardErrorImportance =" High" WorkingDirectory =" .." />
35+ </Target >
36+ </Project >
0 commit comments