Skip to content

Do not full-rebuild if only sketch path changed. #144

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

Merged
merged 2 commits into from
May 6, 2016

Conversation

cmaglie
Copy link
Member

@cmaglie cmaglie commented May 6, 2016

This commit fix two problems:

  1. the sketch path is used as-is in a regexp: this causes troubles if the path contains regexp control chars like [-]().\ etc.
  2. the sketch is not fully rebuild if the only thing that changes is the sketch path.

this PR supersedes #135

…ath changed.

This commit fix two problems:

1) the sketch path is used as-is in a regexp: this causes
   troubles if the path contains regexp control chars
   like `[-]().\` etc.
2) the sketch is not fully rebuild if the only thing that
   changes is the sketch path.

Signed-off-by: Cristian Maglie <[email protected]>
@facchinm
Copy link
Member

facchinm commented May 6, 2016

Wonderful

@ArduinoBot
Copy link
Contributor

✅ Build completed.

⬇️ Build URL: http://downloads.arduino.cc/PR/arduino-builder/arduino-builder-144.zip

ℹ️ To test this build:

  1. Replace arduino-builder binary (you can find it where you installed the IDE) with the provided one

@cmaglie cmaglie merged commit 35786f9 into arduino:master May 6, 2016
@cmaglie cmaglie deleted the fix-build-options branch May 6, 2016 12:31
@cmaglie cmaglie modified the milestone: 1.3.18 May 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants