Zulip Chat Archive

Stream: new members

Topic: How to copy DLLS/other dependencies in lakefile?


Srayan Jana (Aug 31 2025 at 18:21):

Hi!
I've been finally able to get my FFI stuff working on windows, but something that's bothering me is, is there a good way to copy files in a lakefile to the bin directory?
Something like how in C# you can do

<ItemGroup>
        <Content Include="Content\**\*.*">
            <CopyToOutputDirectory>Always</CopyToOutputDirectory>
        </Content>
</ItemGroup>

Srayan Jana (Sep 01 2025 at 01:12):

Found it!
https://lean-lang.org/doc/api/Lake/Util/IO.html#Lake.copyFile


Last updated: Dec 20 2025 at 21:32 UTC