fake_function_framework plugin for v0.28.2 gem does not contain fff submodule
In v0.28.2 of the Ceedling gem, there is no vendor folder in the fake function framework (fff) plugin folder (vendor/ceedling/plugins/fake_function_framework). There should be a vendor folder there that contains a submodule for the fff project.
Without this folder the fff plugin doesn't work, as described in this issue: ElectronVector/fake_function_framework#9
I tried building the gem myself and it added the folder correctly.
I suspect that the fff submodule wasn't cloned in the repository when the gem was built?
I'm not sure how the gem gets built. Would it be useful to use rake task to build... to ensure a recursive submodule update has been done first?
Unfortunately this is still an issue with 0.30.0. The vendor folder for fff is not available when creating a projekt, therefore using fff is not possible without an extra clone of the fff module.
Can confirm this is still an issue with 0.30.0.
I don't get it. I thought there is some kind of problem in .gemspec file. But if I run this:
git clone --recursive https://github.com/throwtheswitch/ceedling.git
cd .\ceedling\
gem build .\ceedling.gemspec
gem install .\ceedling-0.30.0.gem
It gives me ceedling installation with correct fake_function_framework plugin files.
I suppose something went wrong when gem was built and uploaded?
@mvandervoord, hello! Could you please look at this? It's likely that the fix is easy, and FFF plugin is certainly gets used.
@EighthMayer I've changed the fff plugin to include fff.h directly instead of including the entire fff project as a submodule. I suspect that this will fix this from being an issue with subsequent releases.
I was VERY confused what I was doing wrong until I found this post. FFF is a wonderful addition to ceedling and I was worried it was no longer working.
Thanks @mchernosky for working on it!
This is still an issue with gem 0.31.0. I'm really puzzled by this point.
Copying my comment from another discussion:
Considering presence of sublime text editor files in gem archive it looks like gem is generated manually, so I think this is some kind of human error leading to removal of plugin's "vendor" subfolder.
Still broken in 31.1, I was able to build a working version with the instructions in https://github.com/ThrowTheSwitch/Ceedling/issues/245#issuecomment-658647898