1
0
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:
Richard Wackerbarth 2015-03-06 16:17:56 -06:00
parent 4a9c3b1ddd
commit 498d615fb8

View File

@ -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