-
Notifications
You must be signed in to change notification settings - Fork 18k
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
Waf add submodulesclean #25196
Waf add submodulesclean #25196
Conversation
I've totally punted on all this and added "rm build -rf; rm modules -rf" to that shell script on any long-term branch I use. Going from old to new releases is painful |
Do you find the I could make |
Added a submodulesclean and sync |
7fdfb42
to
cb44ac9
Compare
I love the idea of adding the submodule sync as a function in waf! I'm opposed to calling deleting trees of files |
cb44ac9
to
c5b421b
Compare
Sure I've done this. Though I preferred submoduleclean to match the other autopilot firmware options |
I do. To the point that I've added a git alias for it. Switching between old branches and current master is what does it most often. The submodule sync usually doesn't work for me. It's also quite slow and spits way too much stuff to the terminal, so if the normal git surf ( Might be better to just do |
Eh, doesn't seem like submodulesclean works. It made the situation worse.
|
This adds a waf command and completions for the submodulesync script.
Simpler version of #23898 since it doesn't mess with normal distclean
Note : I called it
submodulesclean
to be more in common with other projects but am not tied to it.To Fix: I couldn't get
./waf --help
to show thesubmodulesclean
command ?