Skip to content

Commit

Permalink
Renamed project to FileSort
Browse files Browse the repository at this point in the history
  • Loading branch information
bogdanbujdea committed Mar 11, 2019
1 parent 6d62251 commit 0409298
Show file tree
Hide file tree
Showing 30 changed files with 56 additions and 56 deletions.
4 changes: 2 additions & 2 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
"request": "launch",
"preLaunchTask": "build",
// If you have changed target frameworks, make sure to update the program path.
"program": "${workspaceFolder}/src/PicSort.CLI/bin/Debug/netcoreapp2.1/PicSort.CLI.dll",
"program": "${workspaceFolder}/src/FileSort.CLI/bin/Debug/netcoreapp2.1/FileSort.CLI.dll",
"args": [],
"cwd": "${workspaceFolder}/src/PicSort.CLI",
"cwd": "${workspaceFolder}/src/FileSort.CLI",
// For more information about the 'console' field, see https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md#console-terminal-window
"console": "internalConsole",
"stopAtEntry": false,
Expand Down
2 changes: 1 addition & 1 deletion .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"type": "process",
"args": [
"build",
"${workspaceFolder}/src/PicSort.CLI/PicSort.CLI.csproj"
"${workspaceFolder}/src/FileSort.CLI/FileSort.CLI.csproj"
],
"problemMatcher": "$msCompile"
}
Expand Down
6 changes: 3 additions & 3 deletions PicSort.sln → FileSort.sln
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{93E24B7F-DE3
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{E0315440-BA84-40AE-8803-92812177EE73}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PicSort.Core", "src\PicSort.Core\PicSort.Core.csproj", "{B373C891-F46A-41A5-B00B-C8A82CBA22C9}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "FileSort.Core", "src\FileSort.Core\FileSort.Core.csproj", "{B373C891-F46A-41A5-B00B-C8A82CBA22C9}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PicSort.Core.UnitTests", "tests\PicSort.Core.UnitTests\PicSort.Core.UnitTests.csproj", "{0BD4DBEE-41B8-4E97-A014-60B801840EEC}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "FileSort.Core.UnitTests", "tests\FileSort.Core.UnitTests\FileSort.Core.UnitTests.csproj", "{0BD4DBEE-41B8-4E97-A014-60B801840EEC}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PicSort.CLI", "src\PicSort.CLI\PicSort.CLI.csproj", "{2C7365DC-349E-4B52-A70E-7CF7957B06E2}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "FileSort.CLI", "src\FileSort.CLI\FileSort.CLI.csproj", "{2C7365DC-349E-4B52-A70E-7CF7957B06E2}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ Here's how my Dropbox looks:

`sort-files -m`

[![Build Status](https://dev.azure.com/bogdan-tfs/PicSort/_apis/build/status/thewindev.PicSort?branchName=master)](https://dev.azure.com/bogdan-tfs/PicSort/_build/latest?definitionId=11&branchName=master)
[![Build Status](https://dev.azure.com/bogdan-tfs/FileSort/_apis/build/status/thewindev.FileSort?branchName=master)](https://dev.azure.com/bogdan-tfs/FileSort/_build/latest?definitionId=11&branchName=master)
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"request": "launch",
"preLaunchTask": "build",
// If you have changed target frameworks, make sure to update the program path.
"program": "${workspaceFolder}/bin/Debug/netcoreapp2.1/PicSort.CLI.dll",
"program": "${workspaceFolder}/bin/Debug/netcoreapp2.1/FileSort.CLI.dll",
"args": [],
"cwd": "${workspaceFolder}",
// For more information about the 'console' field, see https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md#console-terminal-window
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"type": "process",
"args": [
"build",
"${workspaceFolder}/PicSort.CLI.csproj"
"${workspaceFolder}/FileSort.CLI.csproj"
],
"problemMatcher": "$msCompile"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<RuntimeFrameworkVersion>2.1.0</RuntimeFrameworkVersion>
<AssemblyName>FileSort</AssemblyName>
<ApplicationIcon>icon.ico</ApplicationIcon>
<PackageIconUrl>https://raw.githubusercontent.com/thewindev/FileSort/master/src/PicSort.CLI/icon.ico</PackageIconUrl>
<PackageIconUrl>https://raw.githubusercontent.com/thewindev/FileSort/master/src/FileSort.CLI/icon.ico</PackageIconUrl>
<RepositoryUrl>https://github.com/thewindev/FileSort</RepositoryUrl>
<PackageTags>dotnet tool, file sort</PackageTags>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
Expand All @@ -23,7 +23,7 @@
<FileVersion>1.0.1.0</FileVersion>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\PicSort.Core\PicSort.Core.csproj" />
<ProjectReference Include="..\FileSort.Core\FileSort.Core.csproj" />
</ItemGroup>

<ItemGroup>
Expand Down
6 changes: 3 additions & 3 deletions src/PicSort.CLI/Program.cs → src/FileSort.CLI/Program.cs
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
using McMaster.Extensions.CommandLineUtils;

using PicSort.Core.Storage;
using PicSort.Core.Classifiers.Date;
using FileSort.Core.Storage;
using FileSort.Core.Classifiers.Date;

using System;

using System.IO;

namespace PicSort.CLI
namespace FileSort.CLI
{
class Program
{
Expand Down
File renamed without changes.
5 changes: 5 additions & 0 deletions src/FileSort.CLI/reinstall.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
dotnet tool uninstall -g FileSort.cli
dotnet build
dotnet pack
dotnet tool install --global --add-source ./nupkg FileSort.cli
pause
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using PicSort.Core.Storage;
using FileSort.Core.Storage;

using System.Collections.Generic;

namespace PicSort.Core.Classifiers
namespace FileSort.Core.Classifiers
{
public interface IClassifier<T> where T: ClassifierArgs
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
using PicSort.Core.Storage;
using PicSort.Core.DirectoryTools;
using FileSort.Core.Storage;
using FileSort.Core.DirectoryTools;

using System;
using System.Collections.Generic;

namespace PicSort.Core.Classifiers.Date
namespace FileSort.Core.Classifiers.Date
{
public class DateClassifier: IClassifier<ClassifierArgs>
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using PicSort.Core.Storage;
using FileSort.Core.Storage;

namespace PicSort.Core.Classifiers.Date
namespace FileSort.Core.Classifiers.Date
{
public class DateClassifierArgs: ClassifierArgs
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System;

namespace PicSort.Core.Classifiers.Date
namespace FileSort.Core.Classifiers.Date
{
public static class DateExtensions
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace PicSort.Core.Classifiers.Date
namespace FileSort.Core.Classifiers.Date
{
public enum DateInterval
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace PicSort.Core.Classifiers.Date
namespace FileSort.Core.Classifiers.Date
{
public enum RecursiveMode
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System;

namespace PicSort.Core.Classifiers
namespace FileSort.Core.Classifiers
{
public class MediaFileInfo
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
using PicSort.Core.Classifiers;
using PicSort.Core.Classifiers.Date;
using FileSort.Core.Classifiers;
using FileSort.Core.Classifiers.Date;

using System.IO;

namespace PicSort.Core.DirectoryTools
namespace FileSort.Core.DirectoryTools
{
public static class DirectoryBuilder
{
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using PicSort.Core.Classifiers.Date;
using FileSort.Core.Classifiers.Date;

namespace PicSort.Core.Storage
namespace FileSort.Core.Storage
{
public abstract class ClassifierArgs
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using PicSort.Core.Classifiers;
using FileSort.Core.Classifiers;

using System.Collections.Generic;

namespace PicSort.Core.Storage
namespace FileSort.Core.Storage
{
public interface IStorageUtilities
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
using System.Collections.Generic;
using System.IO;
using System.Linq;
using PicSort.Core.Classifiers;
using FileSort.Core.Classifiers;

namespace PicSort.Core.Storage
namespace FileSort.Core.Storage
{
public class StorageManager
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
using PicSort.Core.Classifiers;
using PicSort.Core.Classifiers.Date;
using FileSort.Core.Classifiers;
using FileSort.Core.Classifiers.Date;

using System;
using System.IO;
using System.Linq;
using System.Collections.Generic;

namespace PicSort.Core.Storage
namespace FileSort.Core.Storage
{
public class StorageUtilities : IStorageUtilities
{
Expand Down
5 changes: 0 additions & 5 deletions src/PicSort.CLI/reinstall.bat

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
using FluentAssertions;

using PicSort.Core.Classifiers;
using PicSort.Core.Classifiers.Date;
using FileSort.Core.Classifiers;
using FileSort.Core.Classifiers.Date;

using System;

using System.Collections.Generic;

using Xunit;

namespace PicSort.Core.UnitTests.Classifiers.DateClassifierTests
namespace FileSort.Core.UnitTests.Classifiers.DateClassifierTests
{
public class ClasifyShould
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
using FluentAssertions;

using PicSort.Core.Classifiers.Date;
using FileSort.Core.Classifiers.Date;

using System;
using System.Collections.Generic;

using Xunit;

namespace PicSort.Core.UnitTests.Classifiers
namespace FileSort.Core.UnitTests.Classifiers
{
public class DateExtensionsShould
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
using FluentAssertions;

using PicSort.Core.Classifiers;
using PicSort.Core.DirectoryTools;
using PicSort.Core.Classifiers.Date;
using FileSort.Core.Classifiers;
using FileSort.Core.DirectoryTools;
using FileSort.Core.Classifiers.Date;

using System;

using Xunit;

namespace PicSort.Core.UnitTests.Classifiers
namespace FileSort.Core.UnitTests.Classifiers
{
public class DirectoryBuilderShould
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</PackageReference>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\PicSort.Core\PicSort.Core.csproj" />
<ProjectReference Include="..\..\src\FileSort.Core\FileSort.Core.csproj" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
using Moq;
using PicSort.Core.Classifiers;
using PicSort.Core.Classifiers.Date;
using PicSort.Core.Storage;
using FileSort.Core.Classifiers;
using FileSort.Core.Classifiers.Date;
using FileSort.Core.Storage;
using System.Collections.Generic;
using Xunit;

namespace PicSort.Core.UnitTests.Storage.StorageOrganizer
namespace FileSort.Core.UnitTests.Storage.StorageOrganizer
{
public class OrganizeDirectoryShould
{
Expand Down

0 comments on commit 0409298

Please sign in to comment.