grisp / rebar3_grisp

Rebar plug-in for GRiSP
https://www.grisp.org
Apache License 2.0
21 stars 10 forks source link

Handle duplicate C source files from different apps #1

Closed eproxus closed 6 years ago

eproxus commented 7 years ago

When merging C code from different apps and dependencies, we should handle duplicate file names since we can only have one file with the same name in the target OTP build directory tree. This should either be handled with warnings or errors, or a sensible policy.

eproxus commented 6 years ago

For now, files are overridden in the order the dependencies appear (with the grisp application first, meaning that anything else overrides the default source from the GRiSP runtime).