mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-07 01:54:26 +01:00
parent
498d615fb8
commit
2f65f5fdc1
@ -349,6 +349,11 @@ public class Compiler implements MessageConsumer {
|
|||||||
|
|
||||||
verbose = _verbose || PreferencesData.getBoolean("build.verbose");
|
verbose = _verbose || PreferencesData.getBoolean("build.verbose");
|
||||||
sketchIsCompiled = false;
|
sketchIsCompiled = false;
|
||||||
|
|
||||||
|
// Hook runs at Start of Compilation
|
||||||
|
if (prefs.containsKey("recipe.hooks.prebuild"))
|
||||||
|
runRecipe("recipe.hooks.prebuild");
|
||||||
|
|
||||||
objectFiles = new ArrayList<File>();
|
objectFiles = new ArrayList<File>();
|
||||||
|
|
||||||
// 0. include paths for core + all libraries
|
// 0. include paths for core + all libraries
|
||||||
@ -416,6 +421,11 @@ public class Compiler implements MessageConsumer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
progressListener.progress(90);
|
progressListener.progress(90);
|
||||||
|
|
||||||
|
// Hook runs at End of Compilation
|
||||||
|
if (prefs.containsKey("recipe.hooks.postbuild"))
|
||||||
|
runRecipe("recipe.hooks.postbuild");
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user