Skip to content

Commit

Permalink
[Build] Make sure all files are packaged (list of ignored extensions)
Browse files Browse the repository at this point in the history
  • Loading branch information
xen2 committed Mar 17, 2021
1 parent d95b9fc commit 78a2c15
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,10 @@ public ShaderBytecodeResult Compile(string shaderSource, string entryPoint, Shad
filename = @"win-x64\glslangValidator.exe";
break;
case PlatformType.Linux:
filename = @"linux-x64\glslangValidator";
filename = @"linux-x64\glslangValidator.bin";
break;
case PlatformType.macOS:
filename = @"osx-x64\glslangValidator";
filename = @"osx-x64\glslangValidator.bin";
break;
default:
throw new PlatformNotSupportedException();
Expand Down
1 change: 1 addition & 0 deletions sources/targets/Stride.Core.targets
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@
<PropertyGroup Condition="$(DesignTimeBuild) != 'true' And '$(StrideSkipAutoPack)' != 'true'">
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
<AllowedOutputExtensionsInPackageBuildOutputFolder>.so;.a;.bin;.dylib;$(AllowedOutputExtensionsInPackageBuildOutputFolder)</AllowedOutputExtensionsInPackageBuildOutputFolder>
</PropertyGroup>

<!-- Auto NuGet build packages and deploy them -->
Expand Down

0 comments on commit 78a2c15

Please sign in to comment.