repo cleanup
This commit is contained in:
parent
e8eee642c2
commit
295bbf6bef
14 changed files with 4 additions and 366 deletions
5
.gitignore
vendored
5
.gitignore
vendored
|
|
@ -20,4 +20,7 @@ appsettings.Development.json
|
||||||
/test/data/test-isn/bin/
|
/test/data/test-isn/bin/
|
||||||
/test/data/test-isn/obj
|
/test/data/test-isn/obj
|
||||||
.fake
|
.fake
|
||||||
artifacts/
|
/artifacts/
|
||||||
|
/.vs/
|
||||||
|
/.vscode/
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,27 +0,0 @@
|
||||||
<Properties StartupConfiguration="{468DB0E4-6221-4E01-BEFF-F452865E59C1}|Default">
|
|
||||||
<MonoDevelop.Ide.Workbench ActiveDocument="src/isnd/isnd.csproj">
|
|
||||||
<Files>
|
|
||||||
<File FileName="src/isn/Program.cs" Line="55" Column="48" />
|
|
||||||
<File FileName="src/isnd/isnd.csproj" Line="15" Column="56" />
|
|
||||||
</Files>
|
|
||||||
<Pads>
|
|
||||||
<Pad Id="ProjectPad">
|
|
||||||
<State name="__root__">
|
|
||||||
<Node name="isn" expanded="True">
|
|
||||||
<Node name="src" expanded="True" selected="True" />
|
|
||||||
<Node name="test" expanded="True" />
|
|
||||||
</Node>
|
|
||||||
</State>
|
|
||||||
</Pad>
|
|
||||||
</Pads>
|
|
||||||
</MonoDevelop.Ide.Workbench>
|
|
||||||
<MonoDevelop.Ide.ItemProperties.src.isnd PreferredExecutionTarget="MonoDevelop.Default" />
|
|
||||||
<MonoDevelop.Ide.DebuggingService.PinnedWatches />
|
|
||||||
<MonoDevelop.Ide.Workspace ActiveConfiguration="Debug" />
|
|
||||||
<MonoDevelop.Ide.ItemProperties.test.isnd.tests PreferredExecutionTarget="MonoDevelop.Default" />
|
|
||||||
<MonoDevelop.Ide.DebuggingService.Breakpoints>
|
|
||||||
<BreakpointStore />
|
|
||||||
</MonoDevelop.Ide.DebuggingService.Breakpoints>
|
|
||||||
<MultiItemStartupConfigurations />
|
|
||||||
<MonoDevelop.Ide.ItemProperties.src.isn PreferredExecutionTarget="MonoDevelop.Default" />
|
|
||||||
</Properties>
|
|
||||||
52
.vscode/launch.json
vendored
52
.vscode/launch.json
vendored
|
|
@ -1,52 +0,0 @@
|
||||||
{
|
|
||||||
// Utilisez IntelliSense pour en savoir plus sur les attributs possibles.
|
|
||||||
// Pointez pour afficher la description des attributs existants.
|
|
||||||
// Pour plus d'informations, visitez : https://go.microsoft.com/fwlink/?linkid=830387
|
|
||||||
"version": "0.2.0",
|
|
||||||
"configurations": [
|
|
||||||
{
|
|
||||||
"name": ".NET Core Attach",
|
|
||||||
"type": "coreclr",
|
|
||||||
"request": "attach"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "push",
|
|
||||||
"type": "coreclr",
|
|
||||||
"request": "launch",
|
|
||||||
"preLaunchTask": "build",
|
|
||||||
"program": "${workspaceFolder}/src/isn/bin/Debug/netcoreapp2.1/isn.dll",
|
|
||||||
"requireExactSource": false,
|
|
||||||
"args": [
|
|
||||||
"push",
|
|
||||||
"-s", "http://localhost:5000/index.json",
|
|
||||||
"-k", "CfDJ8PZdCuMAkkdPqlnuLoghOuKBNLoprBqsy64fJqrYnVEOCj-eI7pfoVjHPXHazx_YSUDtnz9ic8olLY6JcZYOE2lVfpThjs8bE73AR4HjDQPhiMOY2NU-lWtCuxhk0K16xqOoFU5pAPLF83-YXJtt02_WMAQWfxVbq5_LpskRcZrk",
|
|
||||||
"-p",
|
|
||||||
"/home/paul/Nupkgs/Yavsc.Abstract.1.0.8.nupkg"
|
|
||||||
],
|
|
||||||
"cwd": "${workspaceFolder}/src/isn",
|
|
||||||
"stopAtEntry": false,
|
|
||||||
"console": "internalConsole"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "web",
|
|
||||||
"type": "coreclr",
|
|
||||||
"request": "launch",
|
|
||||||
"preLaunchTask": "build",
|
|
||||||
"program": "${workspaceFolder}/src/isnd/bin/Debug/net7.0/isnd.dll",
|
|
||||||
"args": [],
|
|
||||||
"cwd": "${workspaceFolder}/src/isnd",
|
|
||||||
"stopAtEntry": false,
|
|
||||||
"requireExactSource": false,
|
|
||||||
"serverReadyAction": {
|
|
||||||
"action": "openExternally",
|
|
||||||
"pattern": "\\bNow listening on:\\s+(https?://\\S+)"
|
|
||||||
},
|
|
||||||
"env": {
|
|
||||||
"ASPNETCORE_ENVIRONMENT": "Development"
|
|
||||||
},
|
|
||||||
"sourceFileMap": {
|
|
||||||
"/Views": "${workspaceFolder}/Views"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
52
.vscode/settings.json
vendored
52
.vscode/settings.json
vendored
|
|
@ -1,52 +0,0 @@
|
||||||
{
|
|
||||||
"omnisharp.msbuild": true,
|
|
||||||
"dotnet-test-explorer.testProjectPath": "**/*tests.csproj",
|
|
||||||
"dotnet-test-explorer.runInParallel": false,
|
|
||||||
"dotnet-test-explorer.showCodeLens": true,
|
|
||||||
"dotnet-test-explorer.testArguments": "",
|
|
||||||
"nxunitExplorer.modules": [
|
|
||||||
"test/i*/bin/Debug/*/*.tests.dll"
|
|
||||||
],
|
|
||||||
"nxunitExplorer.skippattern": "",
|
|
||||||
"dotnetCoreExplorer.runEnvVars": {
|
|
||||||
"ASPNETCORE_ENVIRONMENT": "Development"
|
|
||||||
},
|
|
||||||
"dotnetCoreExplorer.searchpatterns": "test/**/bin/**/*.tests.{dll,exe}",
|
|
||||||
"sqltools.connections": [
|
|
||||||
{
|
|
||||||
"previewLimit": 50,
|
|
||||||
"server": "localhost",
|
|
||||||
"port": 5432,
|
|
||||||
"driver": "PostgreSQL",
|
|
||||||
"name": "isndev",
|
|
||||||
"group": "isn",
|
|
||||||
"database": "dotnetmvc",
|
|
||||||
"username": "dotnetmvc",
|
|
||||||
"password": "RvJa=y#b/tfg"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"previewLimit": 50,
|
|
||||||
"server": "localhost",
|
|
||||||
"port": 5432,
|
|
||||||
"askForPassword": true,
|
|
||||||
"driver": "PostgreSQL",
|
|
||||||
"name": "isnd",
|
|
||||||
"group": "isn",
|
|
||||||
"database": "webid",
|
|
||||||
"username": "webid"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"previewLimit": 50,
|
|
||||||
"server": "localhost",
|
|
||||||
"port": 5432,
|
|
||||||
"askForPassword": true,
|
|
||||||
"driver": "PostgreSQL",
|
|
||||||
"name": "isnddev",
|
|
||||||
"group": "isn",
|
|
||||||
"database": "isnd",
|
|
||||||
"username": "paul"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"omnisharp.disableMSBuildDiagnosticWarning": true,
|
|
||||||
"omnisharp.enableRoslynAnalyzers": false
|
|
||||||
}
|
|
||||||
8
.vscode/solution-explorer/class.cs-template
vendored
8
.vscode/solution-explorer/class.cs-template
vendored
|
|
@ -1,8 +0,0 @@
|
||||||
using System;
|
|
||||||
|
|
||||||
namespace {{namespace}}
|
|
||||||
{
|
|
||||||
public class {{name}}
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
|
||||||
3
.vscode/solution-explorer/class.ts-template
vendored
3
.vscode/solution-explorer/class.ts-template
vendored
|
|
@ -1,3 +0,0 @@
|
||||||
export class {{name}} {
|
|
||||||
|
|
||||||
}
|
|
||||||
9
.vscode/solution-explorer/class.vb-template
vendored
9
.vscode/solution-explorer/class.vb-template
vendored
|
|
@ -1,9 +0,0 @@
|
||||||
Imports System
|
|
||||||
|
|
||||||
Namespace {{namespace}}
|
|
||||||
|
|
||||||
Public Class {{name}}
|
|
||||||
|
|
||||||
End Class
|
|
||||||
|
|
||||||
End Namespace
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
||||||
export default {{name}} {
|
|
||||||
|
|
||||||
}
|
|
||||||
8
.vscode/solution-explorer/enum.cs-template
vendored
8
.vscode/solution-explorer/enum.cs-template
vendored
|
|
@ -1,8 +0,0 @@
|
||||||
using System;
|
|
||||||
|
|
||||||
namespace {{namespace}}
|
|
||||||
{
|
|
||||||
public enum {{name}}
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
||||||
using System;
|
|
||||||
|
|
||||||
namespace {{namespace}}
|
|
||||||
{
|
|
||||||
public interface {{name}}
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
||||||
export interface {{name}} {
|
|
||||||
|
|
||||||
}
|
|
||||||
46
.vscode/solution-explorer/template-list.json
vendored
46
.vscode/solution-explorer/template-list.json
vendored
|
|
@ -1,46 +0,0 @@
|
||||||
{
|
|
||||||
"templates": [
|
|
||||||
{
|
|
||||||
"name": "Class",
|
|
||||||
"extension": "cs",
|
|
||||||
"file": "./class.cs-template",
|
|
||||||
"parameters": "./template-parameters.js"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Interface",
|
|
||||||
"extension": "cs",
|
|
||||||
"file": "./interface.cs-template",
|
|
||||||
"parameters": "./template-parameters.js"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Enum",
|
|
||||||
"extension": "cs",
|
|
||||||
"file": "./enum.cs-template",
|
|
||||||
"parameters": "./template-parameters.js"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Class",
|
|
||||||
"extension": "ts",
|
|
||||||
"file": "./class.ts-template",
|
|
||||||
"parameters": "./template-parameters.js"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Interface",
|
|
||||||
"extension": "ts",
|
|
||||||
"file": "./interface.ts-template",
|
|
||||||
"parameters": "./template-parameters.js"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Default",
|
|
||||||
"extension": "ts",
|
|
||||||
"file": "./default.ts-template",
|
|
||||||
"parameters": "./template-parameters.js"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Class",
|
|
||||||
"extension": "vb",
|
|
||||||
"file": "./class.vb-template",
|
|
||||||
"parameters": "./template-parameters.js"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
17
.vscode/solution-explorer/template-parameters.js
vendored
17
.vscode/solution-explorer/template-parameters.js
vendored
|
|
@ -1,17 +0,0 @@
|
||||||
var path = require("path");
|
|
||||||
|
|
||||||
module.exports = function(filename, projectPath, folderPath) {
|
|
||||||
var namespace = "Unknown";
|
|
||||||
if (projectPath) {
|
|
||||||
namespace = path.basename(projectPath, path.extname(projectPath));
|
|
||||||
if (folderPath) {
|
|
||||||
namespace += "." + folderPath.replace(path.dirname(projectPath), "").substring(1).replace(/[\\\/]/g, ".");
|
|
||||||
}
|
|
||||||
namespace = namespace.replace(/[\\\-]/g, "_");
|
|
||||||
}
|
|
||||||
|
|
||||||
return {
|
|
||||||
namespace: namespace,
|
|
||||||
name: path.basename(filename, path.extname(filename))
|
|
||||||
}
|
|
||||||
};
|
|
||||||
129
.vscode/tasks.json
vendored
129
.vscode/tasks.json
vendored
|
|
@ -1,129 +0,0 @@
|
||||||
{
|
|
||||||
"version": "2.0.0",
|
|
||||||
"tasks": [
|
|
||||||
{
|
|
||||||
"label": "restore",
|
|
||||||
"command": "dotnet",
|
|
||||||
"type": "process",
|
|
||||||
"args": [
|
|
||||||
"restore",
|
|
||||||
"/property:GenerateFullPaths=true",
|
|
||||||
"/consoleloggerparameters:NoSummary",
|
|
||||||
"--ignore-failed-sources"
|
|
||||||
],
|
|
||||||
"problemMatcher": "$msCompile"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "build",
|
|
||||||
"command": "dotnet",
|
|
||||||
"type": "process",
|
|
||||||
"args": [
|
|
||||||
"build",
|
|
||||||
"/p:Configuration=Debug",
|
|
||||||
"/property:GenerateFullPaths=true",
|
|
||||||
"/consoleloggerparameters:NoSummary"
|
|
||||||
],
|
|
||||||
"problemMatcher": "$msCompile"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "db-upgrade",
|
|
||||||
"command": "dotnet",
|
|
||||||
"type": "process",
|
|
||||||
"args": [
|
|
||||||
"ef",
|
|
||||||
"database",
|
|
||||||
"update"
|
|
||||||
],
|
|
||||||
"problemMatcher": "$msCompile",
|
|
||||||
"options": {
|
|
||||||
"cwd": "${workspaceFolder}/src/isnd",
|
|
||||||
"env": {
|
|
||||||
"ASPNETCORE_ENV": "Development"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
"label": "buildcli",
|
|
||||||
"command": "msbuild",
|
|
||||||
"type": "process",
|
|
||||||
"args": [
|
|
||||||
"src/isn",
|
|
||||||
"/p:Configuration=Debug",
|
|
||||||
"/property:GenerateFullPaths=true",
|
|
||||||
"/consoleloggerparameters:NoSummary",
|
|
||||||
"/restore"
|
|
||||||
],
|
|
||||||
"problemMatcher": "$msCompile"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "publish",
|
|
||||||
"command": "dotnet",
|
|
||||||
"type": "process",
|
|
||||||
"args": [
|
|
||||||
"publish",
|
|
||||||
"/p:GenerateFullPaths=true",
|
|
||||||
"/consoleloggerparameters:NoSummary",
|
|
||||||
"/p:TargetFramework=netcoreapp2.1",
|
|
||||||
"/p:RuntimeIdentifier=linux-x64",
|
|
||||||
"/p:PublishDir=${workspaceFolder}/artifacts"
|
|
||||||
],
|
|
||||||
"problemMatcher": "$msCompile",
|
|
||||||
"options": {
|
|
||||||
"cwd": "${workspaceFolder}"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "monopublish",
|
|
||||||
"command": "msbuild",
|
|
||||||
"type": "process",
|
|
||||||
"args": [
|
|
||||||
"/t:publish",
|
|
||||||
"/p:TargetFramework=netcoreapp2.1;PublishDir=${workspaceFolder}/artiffacts;RuntimeIdentifier=linux-x64",
|
|
||||||
|
|
||||||
],
|
|
||||||
"problemMatcher": "$msCompile"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "copyTestConfig",
|
|
||||||
"command": "dotnet",
|
|
||||||
"type": "process",
|
|
||||||
"args": [ "build", "/t:CopyTestConfig" ]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "test",
|
|
||||||
"command": "dotnet",
|
|
||||||
"type": "process",
|
|
||||||
"options": {
|
|
||||||
"env": {
|
|
||||||
"ASPNETCORE_ENVIRONMENT": "Testing"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"args": [
|
|
||||||
"test",
|
|
||||||
"/property:GenerateFullPaths=true",
|
|
||||||
"--logger:xunit"
|
|
||||||
],
|
|
||||||
"problemMatcher": "$msCompile",
|
|
||||||
"dependsOn": [ "build", "copyTestConfig"]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "watch",
|
|
||||||
"command": "dotnet",
|
|
||||||
"type": "process",
|
|
||||||
"args": [
|
|
||||||
"bin/Debug/netcoreapp2.1/isnd.dll",
|
|
||||||
"/property:GenerateFullPaths=true",
|
|
||||||
"/restore"
|
|
||||||
],
|
|
||||||
"options": {
|
|
||||||
"env": {
|
|
||||||
"ASPNETCORE_ENVIRONMENT": "Development"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"problemMatcher": "$msCompile"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue