Skip to content

Allow forcing a clean build and/or cleaning build dir #969

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

Closed
matthijskooijman opened this issue Sep 23, 2020 · 0 comments · Fixed by #1019
Closed

Allow forcing a clean build and/or cleaning build dir #969

matthijskooijman opened this issue Sep 23, 2020 · 0 comments · Fixed by #1019
Labels
conclusion: resolved Issue was resolved topic: code Related to content of the project itself type: enhancement Proposed improvement

Comments

@matthijskooijman
Copy link
Collaborator

Bug Report

Current behavior

Currently, if an existing build dir is present, it is always used by arduino-cli compile

Expected behavior

It would be nice if there was a arduino-cli compile --clean option that would force a clean build (similar to what happens when the compilation options change, but this should probably also prevent using a precompiled core).

Additionally, an option to clean up the build directory would be nice. At first glance arduino-cli cache clean might do this, but the --help output does not specify what it cleans exactly, cache clean -v does not show what is removed either, and a quick test suggests that it does not clean the build directory.

Environment

  • CLI version (output of arduino-cli version): Current git master be39aa9 (arduino-cli version did not output anything meaningful)
  • OS and platform: Linux
@matthijskooijman matthijskooijman changed the title Allow forcing a clean build and/or cleaning buildd dir Allow forcing a clean build and/or cleaning build dir Sep 23, 2020
@per1234 per1234 added the type: enhancement Proposed improvement label Sep 30, 2020
@per1234 per1234 added conclusion: resolved Issue was resolved topic: code Related to content of the project itself labels Dec 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: resolved Issue was resolved topic: code Related to content of the project itself type: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants