diff options
author | Kyle Spearrin <kyle.spearrin@gmail.com> | 2017-08-16 22:15:11 -0400 |
---|---|---|
committer | Kyle Spearrin <kyle.spearrin@gmail.com> | 2017-08-16 22:15:11 -0400 |
commit | e44964b703bbcd64da7024730bfe75eb3d83f8a7 (patch) | |
tree | 85edd65f5445012a7696a84c9d2896329ea7fed3 | |
parent | 07bb1359b0cb63ced5541f2e8f6f0ef64505de40 (diff) | |
download | Otp.NET-e44964b703bbcd64da7024730bfe75eb3d83f8a7.zip Otp.NET-e44964b703bbcd64da7024730bfe75eb3d83f8a7.tar.gz Otp.NET-e44964b703bbcd64da7024730bfe75eb3d83f8a7.tar.bz2 |
cleanup old build stuff
-rwxr-xr-x | Otp.NET.sln | 43 | ||||
-rw-r--r-- | build.cmd | 9 | ||||
-rw-r--r-- | gulpfile.js | 58 | ||||
-rw-r--r-- | package.json | 17 | ||||
-rwxr-xr-x | src/Otp.NET.UnitTests/Otp.NET.UnitTests.csproj | 17 | ||||
-rwxr-xr-x | src/Otp.NET.UnitTests/UnitTest1.cs | 14 | ||||
-rwxr-xr-x | src/Otp.NET/Otp.NET.csproj | 3 | ||||
-rw-r--r-- | src/Otp.NET/Properties/AssemblyInfo.cs | 16 |
8 files changed, 16 insertions, 161 deletions
diff --git a/Otp.NET.sln b/Otp.NET.sln index f6bde00..a16f184 100755 --- a/Otp.NET.sln +++ b/Otp.NET.sln @@ -1,14 +1,11 @@ -
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
-VisualStudioVersion = 15.0.26124.0
+VisualStudioVersion = 15.0.26730.3
MinimumVisualStudioVersion = 15.0.26124.0
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{D0E9D08A-7F66-426A-8645-C2D92DB4D200}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Otp.NET", "src\Otp.NET\Otp.NET.csproj", "{EF104BCD-4F86-494E-81E1-D69A5C851430}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Otp.NET.UnitTests", "src\Otp.NET.UnitTests\Otp.NET.UnitTests.csproj", "{6FE2E04E-9263-4CB6-B9C1-3E39E19979DF}"
-EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -18,37 +15,27 @@ Global Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{EF104BCD-4F86-494E-81E1-D69A5C851430}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{EF104BCD-4F86-494E-81E1-D69A5C851430}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {EF104BCD-4F86-494E-81E1-D69A5C851430}.Debug|x64.ActiveCfg = Debug|x64
- {EF104BCD-4F86-494E-81E1-D69A5C851430}.Debug|x64.Build.0 = Debug|x64
- {EF104BCD-4F86-494E-81E1-D69A5C851430}.Debug|x86.ActiveCfg = Debug|x86
- {EF104BCD-4F86-494E-81E1-D69A5C851430}.Debug|x86.Build.0 = Debug|x86
+ {EF104BCD-4F86-494E-81E1-D69A5C851430}.Debug|x64.ActiveCfg = Debug|Any CPU
+ {EF104BCD-4F86-494E-81E1-D69A5C851430}.Debug|x64.Build.0 = Debug|Any CPU
+ {EF104BCD-4F86-494E-81E1-D69A5C851430}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {EF104BCD-4F86-494E-81E1-D69A5C851430}.Debug|x86.Build.0 = Debug|Any CPU
{EF104BCD-4F86-494E-81E1-D69A5C851430}.Release|Any CPU.ActiveCfg = Release|Any CPU
{EF104BCD-4F86-494E-81E1-D69A5C851430}.Release|Any CPU.Build.0 = Release|Any CPU
- {EF104BCD-4F86-494E-81E1-D69A5C851430}.Release|x64.ActiveCfg = Release|x64
- {EF104BCD-4F86-494E-81E1-D69A5C851430}.Release|x64.Build.0 = Release|x64
- {EF104BCD-4F86-494E-81E1-D69A5C851430}.Release|x86.ActiveCfg = Release|x86
- {EF104BCD-4F86-494E-81E1-D69A5C851430}.Release|x86.Build.0 = Release|x86
- {6FE2E04E-9263-4CB6-B9C1-3E39E19979DF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {6FE2E04E-9263-4CB6-B9C1-3E39E19979DF}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {6FE2E04E-9263-4CB6-B9C1-3E39E19979DF}.Debug|x64.ActiveCfg = Debug|x64
- {6FE2E04E-9263-4CB6-B9C1-3E39E19979DF}.Debug|x64.Build.0 = Debug|x64
- {6FE2E04E-9263-4CB6-B9C1-3E39E19979DF}.Debug|x86.ActiveCfg = Debug|x86
- {6FE2E04E-9263-4CB6-B9C1-3E39E19979DF}.Debug|x86.Build.0 = Debug|x86
- {6FE2E04E-9263-4CB6-B9C1-3E39E19979DF}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {6FE2E04E-9263-4CB6-B9C1-3E39E19979DF}.Release|Any CPU.Build.0 = Release|Any CPU
- {6FE2E04E-9263-4CB6-B9C1-3E39E19979DF}.Release|x64.ActiveCfg = Release|x64
- {6FE2E04E-9263-4CB6-B9C1-3E39E19979DF}.Release|x64.Build.0 = Release|x64
- {6FE2E04E-9263-4CB6-B9C1-3E39E19979DF}.Release|x86.ActiveCfg = Release|x86
- {6FE2E04E-9263-4CB6-B9C1-3E39E19979DF}.Release|x86.Build.0 = Release|x86
+ {EF104BCD-4F86-494E-81E1-D69A5C851430}.Release|x64.ActiveCfg = Release|Any CPU
+ {EF104BCD-4F86-494E-81E1-D69A5C851430}.Release|x64.Build.0 = Release|Any CPU
+ {EF104BCD-4F86-494E-81E1-D69A5C851430}.Release|x86.ActiveCfg = Release|Any CPU
+ {EF104BCD-4F86-494E-81E1-D69A5C851430}.Release|x86.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{EF104BCD-4F86-494E-81E1-D69A5C851430} = {D0E9D08A-7F66-426A-8645-C2D92DB4D200}
- {6FE2E04E-9263-4CB6-B9C1-3E39E19979DF} = {D0E9D08A-7F66-426A-8645-C2D92DB4D200}
+ EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {3B2B9DFE-9F37-430C-A647-93A81A31D8B3}
EndGlobalSection
EndGlobal
diff --git a/build.cmd b/build.cmd deleted file mode 100644 index ab3bb22..0000000 --- a/build.cmd +++ /dev/null @@ -1,9 +0,0 @@ -@echo off -cd %~dp0 - -SETLOCAL - -:build -call npm install -g gulp-cli -call npm install -call gulp diff --git a/gulpfile.js b/gulpfile.js deleted file mode 100644 index c2c38fc..0000000 --- a/gulpfile.js +++ /dev/null @@ -1,58 +0,0 @@ -var p = require('./package.json'); -var gulp = require('gulp'); -var path = require('path'); -var del = require('del'); -var version = p.version; -var configuration = process.env.BUILD_CONFIGURATION || 'Release'; -var {restore, build, test, pack, push} = require('gulp-dotnet-cli'); - -gulp.task('default', ['nuget', 'test']); - -gulp.task('clean', [], ()=>del(['output', 'src/**/bin', 'src/**/obj'])) - -gulp.task('restore', ['clean'], ()=>{ - - return gulp.src('**/*.sln') - .pipe(restore()); - -}, {read:false}); - -gulp.task('build', ['restore'], ()=>{ - - return gulp.src('**/*.sln') - .pipe(build({ - configuration: configuration, - version: version - })); - -}, {read:false}); - -gulp.task('test', ['build'], ()=>{ - - return gulp.src('**/*UnitTests.csproj') - .pipe(test({ - configuration: configuration, - noBuild: true - })); - -}, {read:false}); - -gulp.task('nuget', ['build'], ()=>{ - - return gulp.src('src/Otp.NET/Otp.NET.csproj') - .pipe(pack({ - version: p.version, - configuration: configuration, - output: path.resolve(__dirname, 'output') - })); - -}, {read:false}); - -gulp.task('push', ['default'], ()=>{ - - return gulp.src('output/**/*.nupkg') - .pipe(push({ - apiKey: process.env.NUGET_API_KEY - })); - -}, {read:false});
\ No newline at end of file diff --git a/package.json b/package.json deleted file mode 100644 index 66a07a9..0000000 --- a/package.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "name": "otpnet", - "version": "1.0.1", - "description": "An implementation of TOTP which is commonly used for multi factor authentication by using a shared key between the client and the server to generate and verify one time use codes.", - "homepage": "https://github.com/kspearrin/Otp.NET", - "author": "Kyle Spearrin", - "license": "MIT", - "repository": { - "type": "git", - "url": "https://github.com/kspearrin/Otp.NET" - }, - "dependencies": { - "del": "^2.2.2", - "gulp": "^3.9.0", - "gulp-dotnet-cli": "^0.3.0" - } -} diff --git a/src/Otp.NET.UnitTests/Otp.NET.UnitTests.csproj b/src/Otp.NET.UnitTests/Otp.NET.UnitTests.csproj deleted file mode 100755 index 27ec6e6..0000000 --- a/src/Otp.NET.UnitTests/Otp.NET.UnitTests.csproj +++ /dev/null @@ -1,17 +0,0 @@ -<Project Sdk="Microsoft.NET.Sdk"> - - <PropertyGroup> - <TargetFramework>netcoreapp1.1</TargetFramework> - </PropertyGroup> - - <ItemGroup> - <PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.0.0" /> - <PackageReference Include="xunit" Version="2.2.0" /> - <PackageReference Include="xunit.runner.visualstudio" Version="2.2.0" /> - </ItemGroup> - - <ItemGroup> - <ProjectReference Include="..\Otp.NET\Otp.NET.csproj" /> - </ItemGroup> - -</Project> diff --git a/src/Otp.NET.UnitTests/UnitTest1.cs b/src/Otp.NET.UnitTests/UnitTest1.cs deleted file mode 100755 index 7f2737c..0000000 --- a/src/Otp.NET.UnitTests/UnitTest1.cs +++ /dev/null @@ -1,14 +0,0 @@ -using System;
-using Xunit;
-
-namespace Otp.NET.UnitTests
-{
- public class UnitTest1
- {
- [Fact]
- public void Test1()
- {
-
- }
- }
-}
diff --git a/src/Otp.NET/Otp.NET.csproj b/src/Otp.NET/Otp.NET.csproj index c9de44e..4460bcd 100755 --- a/src/Otp.NET/Otp.NET.csproj +++ b/src/Otp.NET/Otp.NET.csproj @@ -6,11 +6,10 @@ <Authors>Kyle Spearrin</Authors> <PackageProjectUrl>https://github.com/kspearrin/Otp.NET</PackageProjectUrl> <PackageLicenseUrl>https://raw.githubusercontent.com/kspearrin/Otp.NET/master/LICENSE.txt</PackageLicenseUrl> - <Title>Otp.NET</Title> <Description>An implementation of TOTP which is commonly used for multi factor authentication by using a shared key between the client and the server to generate and verify one time use codes. For documentation, visit https://github.com/kspearrin/Otp.NET</Description> - <Summary>An implementation of TOTP which is commonly used for multi factor authentication.</Summary> <PackageTags>otp,totp,2fa,two factor</PackageTags> <PackageIconUrl>http://i.imgur.com/XFfC64v.png</PackageIconUrl> + <RepositoryUrl>https://github.com/kspearrin/Otp.NET</RepositoryUrl> </PropertyGroup> <ItemGroup Condition=" '$(TargetFramework)' == 'net45' "> diff --git a/src/Otp.NET/Properties/AssemblyInfo.cs b/src/Otp.NET/Properties/AssemblyInfo.cs deleted file mode 100644 index 6a7ee22..0000000 --- a/src/Otp.NET/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTrademark("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("e630b67f-150a-4978-a2dd-51b8d8e783ef")] |