Move to a propert namespace.

pull/1089/head
Halil ibrahim Kalkan 6 years ago
parent e557914459
commit 379a2e48ad

@ -7,8 +7,7 @@ using Microsoft.Extensions.Logging.Abstractions;
using Volo.Abp.Cli.Args; using Volo.Abp.Cli.Args;
using Volo.Abp.DependencyInjection; using Volo.Abp.DependencyInjection;
using Volo.Abp.ProjectBuilding; using Volo.Abp.ProjectBuilding;
using Volo.Abp.SolutionTemplating; using Volo.Abp.ProjectBuilding.Building;
using Volo.Abp.SolutionTemplating.Building;
namespace Volo.Abp.Cli.Commands namespace Volo.Abp.Cli.Commands
{ {
@ -56,6 +55,8 @@ namespace Volo.Abp.Cli.Commands
templateZipFile.ExtractAll(Directory.GetCurrentDirectory(), ExtractExistingFileAction.Throw); templateZipFile.ExtractAll(Directory.GetCurrentDirectory(), ExtractExistingFileAction.Throw);
} }
} }
Logger.LogInformation($"Successfully created the project '{commandLineArgs.Target}'");
} }
protected virtual DatabaseProvider GetDatabaseProviderOrNull(CommandLineArgs commandLineArgs) protected virtual DatabaseProvider GetDatabaseProviderOrNull(CommandLineArgs commandLineArgs)

@ -1,4 +1,4 @@
namespace Volo.Abp.SolutionTemplating.Building namespace Volo.Abp.ProjectBuilding.Building
{ {
public enum DatabaseProvider public enum DatabaseProvider
{ {

@ -1,6 +1,6 @@
using System; using System;
namespace Volo.Abp.SolutionTemplating.Building namespace Volo.Abp.ProjectBuilding.Building
{ {
public class GithubRepositoryInfo public class GithubRepositoryInfo
{ {

@ -1,8 +1,7 @@
using JetBrains.Annotations; using JetBrains.Annotations;
using Volo.Abp.ProjectBuilding; using Volo.Abp.ProjectBuilding.Files;
using Volo.Abp.SolutionTemplating.Files;
namespace Volo.Abp.SolutionTemplating.Building namespace Volo.Abp.ProjectBuilding.Building
{ {
public class ProjectBuildContext public class ProjectBuildContext
{ {

@ -1,8 +1,8 @@
using System; using System;
using System.Linq; using System.Linq;
using Volo.Abp.SolutionTemplating.Files; using Volo.Abp.ProjectBuilding.Files;
namespace Volo.Abp.SolutionTemplating.Building namespace Volo.Abp.ProjectBuilding.Building
{ {
public static class ProjectBuildContextExtensions public static class ProjectBuildContextExtensions
{ {

@ -1,6 +1,6 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace Volo.Abp.SolutionTemplating.Building namespace Volo.Abp.ProjectBuilding.Building
{ {
public class ProjectBuildPipeline public class ProjectBuildPipeline
{ {

@ -1,6 +1,6 @@
using Volo.Abp.SolutionTemplating.Building.Steps; using Volo.Abp.ProjectBuilding.Building.Steps;
namespace Volo.Abp.SolutionTemplating.Building namespace Volo.Abp.ProjectBuilding.Building
{ {
public static class ProjectBuildPipelineBuilder public static class ProjectBuildPipelineBuilder
{ {

@ -1,4 +1,4 @@
namespace Volo.Abp.SolutionTemplating.Building namespace Volo.Abp.ProjectBuilding.Building
{ {
public abstract class ProjectBuildPipelineStep public abstract class ProjectBuildPipelineStep
{ {

@ -1,4 +1,4 @@
namespace Volo.Abp.SolutionTemplating.Building namespace Volo.Abp.ProjectBuilding.Building
{ {
public class ProjectResult public class ProjectResult
{ {

@ -1,8 +1,8 @@
using Ionic.Zip; using Ionic.Zip;
using Volo.Abp.SolutionTemplating.Files; using Volo.Abp.ProjectBuilding.Files;
using Volo.Abp.SolutionTemplating.Zipping; using Volo.Abp.ProjectBuilding.Zipping;
namespace Volo.Abp.SolutionTemplating.Building.Steps namespace Volo.Abp.ProjectBuilding.Building.Steps
{ {
public class CreateProjectResultZipStep : ProjectBuildPipelineStep public class CreateProjectResultZipStep : ProjectBuildPipelineStep
{ {

@ -1,9 +1,9 @@
using System.IO; using System.IO;
using Ionic.Zip; using Ionic.Zip;
using Volo.Abp.SolutionTemplating.Files; using Volo.Abp.ProjectBuilding.Files;
using Volo.Abp.SolutionTemplating.Zipping; using Volo.Abp.ProjectBuilding.Zipping;
namespace Volo.Abp.SolutionTemplating.Building.Steps namespace Volo.Abp.ProjectBuilding.Building.Steps
{ {
public class FileEntryListReadStep : ProjectBuildPipelineStep public class FileEntryListReadStep : ProjectBuildPipelineStep
{ {

@ -2,9 +2,9 @@
using System.IO; using System.IO;
using System.Linq; using System.Linq;
using HtmlAgilityPack; using HtmlAgilityPack;
using Volo.Abp.SolutionTemplating.Files; using Volo.Abp.ProjectBuilding.Files;
namespace Volo.Abp.SolutionTemplating.Building.Steps namespace Volo.Abp.ProjectBuilding.Building.Steps
{ {
public class NugetReferenceReplaceStep : ProjectBuildPipelineStep public class NugetReferenceReplaceStep : ProjectBuildPipelineStep
{ {

@ -2,7 +2,7 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
namespace Volo.Abp.SolutionTemplating.Building.Steps namespace Volo.Abp.ProjectBuilding.Building.Steps
{ {
public class RemoveProjectFromSolutionStep : ProjectBuildPipelineStep public class RemoveProjectFromSolutionStep : ProjectBuildPipelineStep
{ {

@ -1,9 +1,9 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using Volo.Abp.SolutionTemplating.Files; using Volo.Abp.ProjectBuilding.Files;
namespace Volo.Abp.SolutionTemplating.Building.Steps namespace Volo.Abp.ProjectBuilding.Building.Steps
{ {
public class SolutionRenameStep : ProjectBuildPipelineStep public class SolutionRenameStep : ProjectBuildPipelineStep
{ {

@ -1,7 +1,7 @@
using System; using System;
using Volo.Abp.SolutionTemplating.Files; using Volo.Abp.ProjectBuilding.Files;
namespace Volo.Abp.SolutionTemplating.Building.Steps namespace Volo.Abp.ProjectBuilding.Building.Steps
{ {
public class SwitchEntityFrameworkCoreToMongoDbStep : ProjectBuildPipelineStep public class SwitchEntityFrameworkCoreToMongoDbStep : ProjectBuildPipelineStep
{ {

@ -1,6 +1,6 @@
using Volo.Abp.SolutionTemplating.Files; using Volo.Abp.ProjectBuilding.Files;
namespace Volo.Abp.SolutionTemplating.Building.Steps namespace Volo.Abp.ProjectBuilding.Building.Steps
{ {
public class TemplateCodeDeleteStep : ProjectBuildPipelineStep public class TemplateCodeDeleteStep : ProjectBuildPipelineStep
{ {

@ -2,7 +2,7 @@
using System.Collections.Generic; using System.Collections.Generic;
using JetBrains.Annotations; using JetBrains.Annotations;
namespace Volo.Abp.SolutionTemplating.Building namespace Volo.Abp.ProjectBuilding.Building
{ {
public abstract class TemplateInfo public abstract class TemplateInfo
{ {

@ -1,9 +1,9 @@
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema; using System.ComponentModel.DataAnnotations.Schema;
using Volo.Abp.Domain.Entities.Auditing; using Volo.Abp.Domain.Entities.Auditing;
using Volo.Abp.SolutionTemplating.Building; using Volo.Abp.ProjectBuilding.Building;
namespace Volo.Abp.SolutionTemplating namespace Volo.Abp.ProjectBuilding
{ {
[Table("Downloads")] [Table("Downloads")]
public class DownloadInfo : CreationAuditedAggregateRoot<int> public class DownloadInfo : CreationAuditedAggregateRoot<int>

@ -3,7 +3,7 @@ using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
namespace Volo.Abp.SolutionTemplating.Files namespace Volo.Abp.ProjectBuilding.Files
{ {
public class FileEntry public class FileEntry
{ {

@ -1,6 +1,6 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace Volo.Abp.SolutionTemplating.Files namespace Volo.Abp.ProjectBuilding.Files
{ {
public static class FileEntryExtensions public static class FileEntryExtensions
{ {

@ -1,6 +1,6 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace Volo.Abp.SolutionTemplating.Files namespace Volo.Abp.ProjectBuilding.Files
{ {
public class FileEntryList : List<FileEntry> public class FileEntryList : List<FileEntry>
{ {

@ -1,7 +1,7 @@
using System; using System;
using Ionic.Zip; using Ionic.Zip;
namespace Volo.Abp.SolutionTemplating.Files namespace Volo.Abp.ProjectBuilding.Files
{ {
public static class FileEntryListExtensions public static class FileEntryListExtensions
{ {

@ -1,7 +1,7 @@
using System; using System;
using Newtonsoft.Json; using Newtonsoft.Json;
namespace Volo.Abp.SolutionTemplating.Github namespace Volo.Abp.ProjectBuilding.Github
{ {
[JsonObject] [JsonObject]
public class GithubRelease public class GithubRelease

@ -1,5 +1,4 @@
using System.Threading.Tasks; using System.Threading.Tasks;
using Volo.Abp.SolutionTemplating;
namespace Volo.Abp.ProjectBuilding namespace Volo.Abp.ProjectBuilding
{ {

@ -1,4 +1,4 @@
using Volo.Abp.SolutionTemplating.Building; using Volo.Abp.ProjectBuilding.Building;
namespace Volo.Abp.ProjectBuilding namespace Volo.Abp.ProjectBuilding
{ {

@ -1,6 +1,5 @@
using JetBrains.Annotations; using JetBrains.Annotations;
using Volo.Abp.SolutionTemplating; using Volo.Abp.ProjectBuilding.Building;
using Volo.Abp.SolutionTemplating.Building;
namespace Volo.Abp.ProjectBuilding namespace Volo.Abp.ProjectBuilding
{ {

@ -1,4 +1,4 @@
namespace Volo.Abp.SolutionTemplating namespace Volo.Abp.ProjectBuilding
{ {
public class ProjectBuildResult public class ProjectBuildResult
{ {

@ -2,8 +2,7 @@
using System.Threading.Tasks; using System.Threading.Tasks;
using Volo.Abp.Cli; using Volo.Abp.Cli;
using Volo.Abp.DependencyInjection; using Volo.Abp.DependencyInjection;
using Volo.Abp.SolutionTemplating; using Volo.Abp.ProjectBuilding.Building;
using Volo.Abp.SolutionTemplating.Building;
namespace Volo.Abp.ProjectBuilding namespace Volo.Abp.ProjectBuilding
{ {

@ -1,6 +1,6 @@
using System; using System;
namespace Volo.Abp.SolutionTemplating namespace Volo.Abp.ProjectBuilding
{ {
public class SolutionName public class SolutionName
{ {

@ -1,7 +1,7 @@
using System; using System;
using Volo.Abp.DependencyInjection; using Volo.Abp.DependencyInjection;
using Volo.Abp.ProjectBuilding.Building;
using Volo.Abp.ProjectBuilding.Templates; using Volo.Abp.ProjectBuilding.Templates;
using Volo.Abp.SolutionTemplating.Building;
namespace Volo.Abp.ProjectBuilding namespace Volo.Abp.ProjectBuilding
{ {

@ -1,6 +1,6 @@
using System.Collections.Generic; using System.Collections.Generic;
using Volo.Abp.SolutionTemplating.Building; using Volo.Abp.ProjectBuilding.Building;
using Volo.Abp.SolutionTemplating.Building.Steps; using Volo.Abp.ProjectBuilding.Building.Steps;
namespace Volo.Abp.ProjectBuilding.Templates namespace Volo.Abp.ProjectBuilding.Templates
{ {

@ -1,4 +1,4 @@
using Volo.Abp.SolutionTemplating.Building; using Volo.Abp.ProjectBuilding.Building;
namespace Volo.Abp.ProjectBuilding.Templates namespace Volo.Abp.ProjectBuilding.Templates
{ {

@ -1,4 +1,4 @@
using Volo.Abp.SolutionTemplating.Building; using Volo.Abp.ProjectBuilding.Building;
namespace Volo.Abp.ProjectBuilding.Templates namespace Volo.Abp.ProjectBuilding.Templates
{ {

@ -3,9 +3,9 @@ using System.Collections.Generic;
using System.IO; using System.IO;
using System.Linq; using System.Linq;
using Ionic.Zip; using Ionic.Zip;
using Volo.Abp.SolutionTemplating.Files; using Volo.Abp.ProjectBuilding.Files;
namespace Volo.Abp.SolutionTemplating.Zipping namespace Volo.Abp.ProjectBuilding.Zipping
{ {
public static class ZipFileExtensions public static class ZipFileExtensions
{ {

@ -1,9 +0,0 @@
namespace Volo.Abp.SolutionTemplating
{
public static class StandardVersions
{
public const string LatestStable = "LatestStable";
public const string LatestUnstable = "LatestUnstable";
}
}
Loading…
Cancel
Save