diff options
author | Lluis Sanchez <lluis@xamarin.com> | 2014-01-20 19:32:53 +0400 |
---|---|---|
committer | Lluis Sanchez Gual <lluis@xamarin.com> | 2014-10-21 18:39:14 +0400 |
commit | f73b2a9990495587d514aa1856919c21170a3940 (patch) | |
tree | 9842411ee8644ead5915a715ee7e53984a601df4 /main/src/addins/MonoDevelop.Autotools/SolutionDeployer.cs | |
parent | a2046b6331a271e8203df7d3d0f14500d33d60fa (diff) |
Initial drop of the new project model
Diffstat (limited to 'main/src/addins/MonoDevelop.Autotools/SolutionDeployer.cs')
-rw-r--r-- | main/src/addins/MonoDevelop.Autotools/SolutionDeployer.cs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/main/src/addins/MonoDevelop.Autotools/SolutionDeployer.cs b/main/src/addins/MonoDevelop.Autotools/SolutionDeployer.cs index 3bb43a271b..16d1bd6081 100644 --- a/main/src/addins/MonoDevelop.Autotools/SolutionDeployer.cs +++ b/main/src/addins/MonoDevelop.Autotools/SolutionDeployer.cs @@ -71,14 +71,14 @@ namespace MonoDevelop.Autotools } } - public bool CanDeploy (SolutionItem entry) + public bool CanDeploy (SolutionFolderItem entry) { MakefileType mt = generateAutotools ? MakefileType.AutotoolsMakefile : MakefileType.SimpleMakefile; IMakefileHandler handler = AutotoolsContext.GetMakefileHandler (entry, mt); return handler != null; } - public bool GenerateFiles (DeployContext ctx, Solution solution, string defaultConf, IProgressMonitor monitor ) + public bool GenerateFiles (DeployContext ctx, Solution solution, string defaultConf, ProgressMonitor monitor ) { string filesString = generateAutotools ? "Autotools files" : "Makefiles"; monitor.BeginTask ( GettextCatalog.GetString ("Generating {0} for Solution {1}", filesString, solution.Name), 1 ); @@ -153,7 +153,7 @@ namespace MonoDevelop.Autotools return true; } - public bool Deploy ( DeployContext ctx, Solution solution, string defaultConf, string targetDir, bool generateFiles, IProgressMonitor monitor ) + public bool Deploy ( DeployContext ctx, Solution solution, string defaultConf, string targetDir, bool generateFiles, ProgressMonitor monitor ) { if (generateFiles) { if ( !GenerateFiles ( ctx, solution, defaultConf, monitor ) ) @@ -231,7 +231,7 @@ namespace MonoDevelop.Autotools if ( File.Exists ( file ) ) FileService.DeleteFile ( file ); } - void AddTopLevelMakefileVars ( Makefile makefile, IProgressMonitor monitor) + void AddTopLevelMakefileVars ( Makefile makefile, ProgressMonitor monitor) { monitor.Log.WriteLine ( GettextCatalog.GetString ("Adding variables to top-level Makefile") ); @@ -251,7 +251,7 @@ namespace MonoDevelop.Autotools // makefile.AppendToVariable ( "pkglib_DATA", "$(DLL_REFERENCES)" ); } - void CreateAutoGenDotSH (AutotoolsContext context, IProgressMonitor monitor) + void CreateAutoGenDotSH (AutotoolsContext context, ProgressMonitor monitor) { monitor.Log.WriteLine ( GettextCatalog.GetString ("Creating autogen.sh") ); @@ -278,7 +278,7 @@ namespace MonoDevelop.Autotools Syscall.chmod ( fileName , FilePermissions.S_IXOTH | FilePermissions.S_IROTH | FilePermissions.S_IRWXU | FilePermissions.S_IRWXG ); } - void CreateConfigureDotAC (Solution solution, string defaultConf, IProgressMonitor monitor, AutotoolsContext context) + void CreateConfigureDotAC (Solution solution, string defaultConf, ProgressMonitor monitor, AutotoolsContext context) { monitor.Log.WriteLine ( GettextCatalog.GetString ("Creating configure.ac") ); TemplateEngine templateEngine = new TemplateEngine(); @@ -394,7 +394,7 @@ AM_CONDITIONAL(ENABLE_{3}, test x$enable_{2} = xyes)", context.AddGeneratedFile (configureFileName); } - void CreateConfigureScript (Solution solution, string defaultConf, AutotoolsContext ctx, IProgressMonitor monitor) + void CreateConfigureScript (Solution solution, string defaultConf, AutotoolsContext ctx, ProgressMonitor monitor) { monitor.Log.WriteLine ( GettextCatalog.GetString ("Creating configure script") ); @@ -469,7 +469,7 @@ AM_CONDITIONAL(ENABLE_{3}, test x$enable_{2} = xyes)", return builder.ToString (); } - void CreateMakefileInclude (AutotoolsContext context, IProgressMonitor monitor) + void CreateMakefileInclude (AutotoolsContext context, ProgressMonitor monitor) { monitor.Log.WriteLine ( GettextCatalog.GetString ("Creating Makefile.include") ); |