-
Notifications
You must be signed in to change notification settings - Fork 274
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create gem bundle for cmock #125
Comments
@mvandervoord do you see this as a feasible idea or are the pitfalls hard to avoid? |
This is definitely doable. It requires a small script to be added which would allow the gem to support the C files in either of the two ways that Ceedling handles them.
|
So for Ceedling it could handle them in both ways? Do you have some preference of which would be a better way (seems like first is easier to implement on first glance)? |
Ha. I think about this one with each release, but have never jumped in and done it. I still love this idea. I thing it should be a ruby gem, and I think the user should be able to call something like |
May we contact ceedling packagers to see if cmock could be split out ? To be tracked: |
Hahaha. @mvandervoord is maintainer of whole ecosystem, so we can rather buy him a coffee, or learn from his Ceedling GitHub Actions (ThrowTheSwitch/Ceedling#739) how to package Ruby, and then just copy it here and try to reproduce it. I just hope he will not add too much non-related stuff in that pull request, so that I will be able to decipher it 😜 |
For projects not using ceedling, it would be convenient to be able to install a version of cmock using gem installer. Currently those projects need to submodule cmock.git, which leads to many downloads on uncached CI jobs.
There is probably a few pitfalls as cmock doesn't only deliver a ruby package, but also some c and h files. Those need to be part of the package as well, and some convenience will be needed in order to add them to the compiler/linker.
The text was updated successfully, but these errors were encountered: