mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-16 11:21:18 +03:00
Additional context for build hooks
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user