Skip to content

Commit fd46fcf

Browse files
authored
Fix not copying directories to binaries output (#38)
Currently directories from the output directory are not being copied to the binaries output directory
1 parent 7dbcc89 commit fd46fcf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

KSPCommon.targets

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@
2828
<!-- Copy output files to mod folder -->
2929
<Target Name="CopyBinariesToRepo" AfterTargets="CopyFilesToOutputDirectory">
3030
<ItemGroup>
31-
<BinariesToCopy Include="$(TargetDir)/*.*"/>
31+
<BinariesToCopy Include="$(TargetDir)/**"/>
3232
</ItemGroup>
3333
<MakeDir Directories="$(RepoRootPath)/$(BinariesOutputRelativePath)"/>
34-
<Copy SourceFiles="@(BinariesToCopy)" DestinationFolder="$(RepoRootPath)/$(BinariesOutputRelativePath)"/>
34+
<Copy SourceFiles="@(BinariesToCopy)" DestinationFolder="$(RepoRootPath)/$(BinariesOutputRelativePath)/%(RecursiveDir)"/>
3535
</Target>
3636

3737
<!-- Use CKAN to install mods for any references tagged with a CKAN Identifier -->

0 commit comments

Comments
 (0)