Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLluis Sanchez Gual <lluis@xamarin.com>2015-05-22 19:07:33 +0300
committerLluis Sanchez Gual <lluis@xamarin.com>2015-05-22 19:20:48 +0300
commit0936db450363260a8e1952a1182db034b49c519f (patch)
treedcb52bfc245cdef0180aacd66b571d1ba98d8528 /main/src/addins/MonoDevelop.Autotools
parentd430c22269b952ac08e123e2bb9982e1f5f10e4b (diff)
[Core] Add operation context to build and clean methods
This context can be used to specify custom data to be consumed by extensions. It is used in the Project class to specify properties to be set before building or cleaning the project.
Diffstat (limited to 'main/src/addins/MonoDevelop.Autotools')
-rw-r--r--main/src/addins/MonoDevelop.Autotools/MakefileProjectServiceExtension.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/main/src/addins/MonoDevelop.Autotools/MakefileProjectServiceExtension.cs b/main/src/addins/MonoDevelop.Autotools/MakefileProjectServiceExtension.cs
index a5b8a02b87..66aeb25eab 100644
--- a/main/src/addins/MonoDevelop.Autotools/MakefileProjectServiceExtension.cs
+++ b/main/src/addins/MonoDevelop.Autotools/MakefileProjectServiceExtension.cs
@@ -144,10 +144,10 @@ namespace MonoDevelop.Autotools
//FIXME: Check whether autogen.sh is required or not
- protected async override Task<BuildResult> OnBuild (ProgressMonitor monitor, ConfigurationSelector configuration)
+ protected async override Task<BuildResult> OnBuild (ProgressMonitor monitor, ConfigurationSelector configuration, OperationContext operationContext)
{
if (data == null || !data.SupportsIntegration || String.IsNullOrEmpty (data.BuildTargetName))
- return await base.OnBuild (monitor, configuration);
+ return await base.OnBuild (monitor, configuration, operationContext);
//FIXME: Gen autofoo ? autoreconf?
@@ -327,10 +327,10 @@ namespace MonoDevelop.Autotools
return null;
}
- protected async override Task<BuildResult> OnClean (ProgressMonitor monitor, ConfigurationSelector configuration)
+ protected async override Task<BuildResult> OnClean (ProgressMonitor monitor, ConfigurationSelector configuration, OperationContext operationContext)
{
if (data == null || !data.SupportsIntegration || String.IsNullOrEmpty (data.CleanTargetName)) {
- return await base.OnClean (monitor, configuration);
+ return await base.OnClean (monitor, configuration, operationContext);
}
monitor.BeginTask ( GettextCatalog.GetString( "Cleaning project"), 1);