mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-20 14:54:31 +01:00
Additional context for build hooks
This commit is contained in:
parent
4a9c3b1ddd
commit
498d615fb8
@ -183,6 +183,9 @@ public class Compiler implements MessageConsumer {
|
||||
sketch = _sketch;
|
||||
prefs = createBuildPreferences(_buildPath, _primaryClassName);
|
||||
|
||||
// provide access to the source tree
|
||||
prefs.put("build.source.path", _sketch.getFolder().getAbsolutePath());
|
||||
|
||||
// Start with an empty progress listener
|
||||
progressListener = new ProgressListener() {
|
||||
@Override
|
||||
|
Loading…
x
Reference in New Issue
Block a user