lustre-labs / dev-tools

Lustre's CLI and development tooling: zero-config dev server, bundling, and scaffolding.
45 stars 15 forks source link

Copy nested ffi files into build/ #55

Closed hayleigh-dot-dev closed 1 month ago

hayleigh-dot-dev commented 1 month ago

Gleam's compiler currently has a bug that means only ffi files directly under src/ are copied into the build directory.

Because dev-tools already adds an additional build step already, we can fix this bug ourselves as a convenience to our users by just recursively copying anything that isn't a *.gleam into build.