parent
f689dce846
commit
99e4a5982f
17 changed files with 325 additions and 325 deletions
@ -1,70 +1,70 @@ |
||||
# Misc folders |
||||
[Bb]in/ |
||||
[Oo]bj/ |
||||
[Pp]ackages/ |
||||
|
||||
# Build related |
||||
tools/** |
||||
!tools/packages.config |
||||
|
||||
## Ignore Visual Studio temporary files, build results, and |
||||
## files generated by popular Visual Studio add-ons. |
||||
|
||||
# User-specific files |
||||
*.suo |
||||
*.user |
||||
*.sln.docstates |
||||
*.sln.ide/ |
||||
*.userprefs |
||||
*.GhostDoc.xml |
||||
|
||||
# Build results |
||||
[Dd]ebug/ |
||||
[Rr]elease/ |
||||
x64/ |
||||
*_i.c |
||||
*_p.c |
||||
*.ilk |
||||
*.meta |
||||
*.obj |
||||
*.pch |
||||
*.pdb |
||||
*.pgc |
||||
*.pgd |
||||
*.rsp |
||||
*.sbr |
||||
*.tlb |
||||
*.tli |
||||
*.tlh |
||||
*.tmp |
||||
*.log |
||||
*.vspscc |
||||
*.vssscc |
||||
.builds |
||||
|
||||
# Visual Studio profiler |
||||
*.psess |
||||
*.vsp |
||||
*.vspx |
||||
|
||||
# ReSharper is a .NET coding add-in |
||||
_ReSharper* |
||||
|
||||
# NCrunch |
||||
*.ncrunch* |
||||
.*crunch*.local.xml |
||||
_NCrunch_* |
||||
|
||||
artifacts/ |
||||
# NuGet Packages Directory |
||||
packages |
||||
|
||||
# Windows |
||||
Thumbs.db |
||||
|
||||
# NUnit |
||||
TestResult.xml |
||||
.vs/ |
||||
.idea/ |
||||
|
||||
# Misc folders |
||||
[Bb]in/ |
||||
[Oo]bj/ |
||||
[Pp]ackages/ |
||||
|
||||
# Build related |
||||
tools/** |
||||
!tools/packages.config |
||||
|
||||
## Ignore Visual Studio temporary files, build results, and |
||||
## files generated by popular Visual Studio add-ons. |
||||
|
||||
# User-specific files |
||||
*.suo |
||||
*.user |
||||
*.sln.docstates |
||||
*.sln.ide/ |
||||
*.userprefs |
||||
*.GhostDoc.xml |
||||
|
||||
# Build results |
||||
[Dd]ebug/ |
||||
[Rr]elease/ |
||||
x64/ |
||||
*_i.c |
||||
*_p.c |
||||
*.ilk |
||||
*.meta |
||||
*.obj |
||||
*.pch |
||||
*.pdb |
||||
*.pgc |
||||
*.pgd |
||||
*.rsp |
||||
*.sbr |
||||
*.tlb |
||||
*.tli |
||||
*.tlh |
||||
*.tmp |
||||
*.log |
||||
*.vspscc |
||||
*.vssscc |
||||
.builds |
||||
|
||||
# Visual Studio profiler |
||||
*.psess |
||||
*.vsp |
||||
*.vspx |
||||
|
||||
# ReSharper is a .NET coding add-in |
||||
_ReSharper* |
||||
|
||||
# NCrunch |
||||
*.ncrunch* |
||||
.*crunch*.local.xml |
||||
_NCrunch_* |
||||
|
||||
artifacts/ |
||||
# NuGet Packages Directory |
||||
packages |
||||
|
||||
# Windows |
||||
Thumbs.db |
||||
|
||||
# NUnit |
||||
TestResult.xml |
||||
.vs/ |
||||
.idea/ |
||||
|
||||
doc/_site/ |
||||
@ -1,46 +1,46 @@ |
||||
{ |
||||
// Use IntelliSense to find out which attributes exist for C# debugging |
||||
// Use hover for the description of the existing attributes |
||||
// For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md |
||||
"version": "0.2.0", |
||||
"configurations": [ |
||||
{ |
||||
"name": ".NET Core Launch (web)", |
||||
"type": "coreclr", |
||||
"request": "launch", |
||||
"preLaunchTask": "build", |
||||
// If you have changed target frameworks, make sure to update the program path. |
||||
"program": "${workspaceFolder}/samples/ASPNetCoreExecutor/bin/Debug/netcoreapp2.2/ASPNetCoreExecutor.dll", |
||||
"args": [], |
||||
"cwd": "${workspaceFolder}/samples/ASPNetCoreExecutor", |
||||
"stopAtEntry": false, |
||||
"internalConsoleOptions": "openOnSessionStart", |
||||
"launchBrowser": { |
||||
"enabled": true, |
||||
"args": "${auto-detect-url}", |
||||
"windows": { |
||||
"command": "cmd.exe", |
||||
"args": "/C start ${auto-detect-url}" |
||||
}, |
||||
"osx": { |
||||
"command": "open" |
||||
}, |
||||
"linux": { |
||||
"command": "xdg-open" |
||||
} |
||||
}, |
||||
"env": { |
||||
"ASPNETCORE_ENVIRONMENT": "Development" |
||||
}, |
||||
"sourceFileMap": { |
||||
"/Views": "${workspaceFolder}/Views" |
||||
} |
||||
}, |
||||
{ |
||||
"name": ".NET Core Attach", |
||||
"type": "coreclr", |
||||
"request": "attach", |
||||
"processId": "${command:pickProcess}" |
||||
} |
||||
,] |
||||
{ |
||||
// Use IntelliSense to find out which attributes exist for C# debugging |
||||
// Use hover for the description of the existing attributes |
||||
// For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md |
||||
"version": "0.2.0", |
||||
"configurations": [ |
||||
{ |
||||
"name": ".NET Core Launch (web)", |
||||
"type": "coreclr", |
||||
"request": "launch", |
||||
"preLaunchTask": "build", |
||||
// If you have changed target frameworks, make sure to update the program path. |
||||
"program": "${workspaceFolder}/samples/ASPNetCoreExecutor/bin/Debug/netcoreapp2.2/ASPNetCoreExecutor.dll", |
||||
"args": [], |
||||
"cwd": "${workspaceFolder}/samples/ASPNetCoreExecutor", |
||||
"stopAtEntry": false, |
||||
"internalConsoleOptions": "openOnSessionStart", |
||||
"launchBrowser": { |
||||
"enabled": true, |
||||
"args": "${auto-detect-url}", |
||||
"windows": { |
||||
"command": "cmd.exe", |
||||
"args": "/C start ${auto-detect-url}" |
||||
}, |
||||
"osx": { |
||||
"command": "open" |
||||
}, |
||||
"linux": { |
||||
"command": "xdg-open" |
||||
} |
||||
}, |
||||
"env": { |
||||
"ASPNETCORE_ENVIRONMENT": "Development" |
||||
}, |
||||
"sourceFileMap": { |
||||
"/Views": "${workspaceFolder}/Views" |
||||
} |
||||
}, |
||||
{ |
||||
"name": ".NET Core Attach", |
||||
"type": "coreclr", |
||||
"request": "attach", |
||||
"processId": "${command:pickProcess}" |
||||
} |
||||
,] |
||||
} |
||||
@ -1,8 +1,8 @@ |
||||
using System; |
||||
|
||||
namespace {{namespace}} |
||||
{ |
||||
public class {{name}} |
||||
{ |
||||
} |
||||
} |
||||
using System; |
||||
|
||||
namespace {{namespace}} |
||||
{ |
||||
public class {{name}} |
||||
{ |
||||
} |
||||
} |
||||
|
||||
@ -1,3 +1,3 @@ |
||||
export class {{name}} { |
||||
|
||||
export class {{name}} { |
||||
|
||||
} |
||||
@ -1,9 +1,9 @@ |
||||
Imports System |
||||
|
||||
Namespace {{namespace}} |
||||
|
||||
Public Class {{name}} |
||||
|
||||
End Class |
||||
|
||||
End Namespace |
||||
Imports System |
||||
|
||||
Namespace {{namespace}} |
||||
|
||||
Public Class {{name}} |
||||
|
||||
End Class |
||||
|
||||
End Namespace |
||||
|
||||
@ -1,3 +1,3 @@ |
||||
export default {{name}} { |
||||
|
||||
export default {{name}} { |
||||
|
||||
} |
||||
@ -1,8 +1,8 @@ |
||||
using System; |
||||
|
||||
namespace {{namespace}} |
||||
{ |
||||
public enum {{name}} |
||||
{ |
||||
} |
||||
} |
||||
using System; |
||||
|
||||
namespace {{namespace}} |
||||
{ |
||||
public enum {{name}} |
||||
{ |
||||
} |
||||
} |
||||
|
||||
@ -1,8 +1,8 @@ |
||||
using System; |
||||
|
||||
namespace {{namespace}} |
||||
{ |
||||
public interface {{name}} |
||||
{ |
||||
} |
||||
} |
||||
using System; |
||||
|
||||
namespace {{namespace}} |
||||
{ |
||||
public interface {{name}} |
||||
{ |
||||
} |
||||
} |
||||
|
||||
@ -1,3 +1,3 @@ |
||||
export interface {{name}} { |
||||
|
||||
export interface {{name}} { |
||||
|
||||
} |
||||
@ -1,46 +1,46 @@ |
||||
{ |
||||
"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" |
||||
} |
||||
] |
||||
{ |
||||
"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" |
||||
} |
||||
] |
||||
} |
||||
@ -1,15 +1,15 @@ |
||||
{ |
||||
"version": "2.0.0", |
||||
"tasks": [ |
||||
{ |
||||
"label": "build", |
||||
"command": "dotnet", |
||||
"type": "process", |
||||
"args": [ |
||||
"build", |
||||
"${workspaceFolder}/samples/ASPNetCoreExecutor/ASPNetCoreExecutor.csproj" |
||||
], |
||||
"problemMatcher": "$msCompile" |
||||
} |
||||
] |
||||
{ |
||||
"version": "2.0.0", |
||||
"tasks": [ |
||||
{ |
||||
"label": "build", |
||||
"command": "dotnet", |
||||
"type": "process", |
||||
"args": [ |
||||
"build", |
||||
"${workspaceFolder}/samples/ASPNetCoreExecutor/ASPNetCoreExecutor.csproj" |
||||
], |
||||
"problemMatcher": "$msCompile" |
||||
} |
||||
] |
||||
} |
||||
@ -1,21 +1,21 @@ |
||||
MIT License |
||||
|
||||
Copyright (c) 2019 xuanye wong |
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy |
||||
of this software and associated documentation files (the "Software"), to deal |
||||
in the Software without restriction, including without limitation the rights |
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
||||
copies of the Software, and to permit persons to whom the Software is |
||||
furnished to do so, subject to the following conditions: |
||||
|
||||
The above copyright notice and this permission notice shall be included in all |
||||
copies or substantial portions of the Software. |
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
||||
SOFTWARE. |
||||
MIT License |
||||
|
||||
Copyright (c) 2019 xuanye wong |
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy |
||||
of this software and associated documentation files (the "Software"), to deal |
||||
in the Software without restriction, including without limitation the rights |
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
||||
copies of the Software, and to permit persons to whom the Software is |
||||
furnished to do so, subject to the following conditions: |
||||
|
||||
The above copyright notice and this permission notice shall be included in all |
||||
copies or substantial portions of the Software. |
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
||||
SOFTWARE. |
||||
|
||||
@ -1,27 +1,27 @@ |
||||
{ |
||||
"iisSettings": { |
||||
"windowsAuthentication": false, |
||||
"anonymousAuthentication": true, |
||||
"iisExpress": { |
||||
"applicationUrl": "http://localhost:60087/", |
||||
"sslPort": 0 |
||||
} |
||||
}, |
||||
"profiles": { |
||||
"IIS Express": { |
||||
"commandName": "IISExpress", |
||||
"launchBrowser": true, |
||||
"environmentVariables": { |
||||
"ASPNETCORE_ENVIRONMENT": "Development" |
||||
} |
||||
}, |
||||
"ASPNetCoreExecutor": { |
||||
"commandName": "Project", |
||||
"launchBrowser": true, |
||||
"environmentVariables": { |
||||
"ASPNETCORE_ENVIRONMENT": "Development" |
||||
}, |
||||
"applicationUrl": "http://localhost:5000/" |
||||
} |
||||
} |
||||
{ |
||||
"iisSettings": { |
||||
"windowsAuthentication": false, |
||||
"anonymousAuthentication": true, |
||||
"iisExpress": { |
||||
"applicationUrl": "http://localhost:60087/", |
||||
"sslPort": 0 |
||||
} |
||||
}, |
||||
"profiles": { |
||||
"IIS Express": { |
||||
"commandName": "IISExpress", |
||||
"launchBrowser": true, |
||||
"environmentVariables": { |
||||
"ASPNETCORE_ENVIRONMENT": "Development" |
||||
} |
||||
}, |
||||
"ASPNetCoreExecutor": { |
||||
"commandName": "Project", |
||||
"launchBrowser": true, |
||||
"environmentVariables": { |
||||
"ASPNETCORE_ENVIRONMENT": "Development" |
||||
}, |
||||
"applicationUrl": "http://localhost:5000/" |
||||
} |
||||
} |
||||
} |
||||
@ -1,17 +1,17 @@ |
||||
{ |
||||
"Logging": { |
||||
"LogLevel": { |
||||
"Default": "Information" |
||||
} |
||||
}, |
||||
"xxlJob": { |
||||
"adminAddresses": "http://127.0.0.1:8080/xxl-job-admin", |
||||
"appName": "xxl-job-executor-dotnet", |
||||
"specialBindAddress": "127.0.0.1", |
||||
"port": 5000, |
||||
"autoRegistry": true, |
||||
"accessToken": "", |
||||
"logRetentionDays": 30 |
||||
} |
||||
|
||||
} |
||||
{ |
||||
"Logging": { |
||||
"LogLevel": { |
||||
"Default": "Information" |
||||
} |
||||
}, |
||||
"xxlJob": { |
||||
"adminAddresses": "http://127.0.0.1:8080/xxl-job-admin", |
||||
"appName": "xxl-job-executor-dotnet", |
||||
"specialBindAddress": "127.0.0.1", |
||||
"port": 5000, |
||||
"autoRegistry": true, |
||||
"accessToken": "", |
||||
"logRetentionDays": 30 |
||||
} |
||||
|
||||
} |
||||
|
||||
@ -1,14 +1,14 @@ |
||||
set -ex |
||||
|
||||
cd $(dirname $0)/../ |
||||
|
||||
artifactsFolder="./artifacts" |
||||
|
||||
if [ -d $artifactsFolder ]; then |
||||
rm -R $artifactsFolder |
||||
fi |
||||
|
||||
mkdir -p $artifactsFolder |
||||
|
||||
dotnet restore ./DotXxlJob.sln |
||||
dotnet build ./DotXxlJob.sln -c Release |
||||
set -ex |
||||
|
||||
cd $(dirname $0)/../ |
||||
|
||||
artifactsFolder="./artifacts" |
||||
|
||||
if [ -d $artifactsFolder ]; then |
||||
rm -R $artifactsFolder |
||||
fi |
||||
|
||||
mkdir -p $artifactsFolder |
||||
|
||||
dotnet restore ./DotXxlJob.sln |
||||
dotnet build ./DotXxlJob.sln -c Release |
||||
|
||||
@ -1,18 +1,18 @@ |
||||
set -ex |
||||
|
||||
cd $(dirname $0)/../ |
||||
|
||||
artifactsFolder="./artifacts" |
||||
|
||||
if [ -d $artifactsFolder ]; then |
||||
rm -R $artifactsFolder |
||||
fi |
||||
|
||||
mkdir -p $artifactsFolder |
||||
|
||||
|
||||
dotnet build ./src/DotXxlJob.Core/DotXxlJob.Core.csproj -c Release |
||||
|
||||
dotnet pack ./src/DotXxlJob.Core/DotXxlJob.Core.csproj -c Release -o $artifactsFolder |
||||
|
||||
dotnet nuget push $artifactsFolder/DotXxlJob.Core.*.nupkg -k $NUGET_KEY -s https://www.nuget.org |
||||
set -ex |
||||
|
||||
cd $(dirname $0)/../ |
||||
|
||||
artifactsFolder="./artifacts" |
||||
|
||||
if [ -d $artifactsFolder ]; then |
||||
rm -R $artifactsFolder |
||||
fi |
||||
|
||||
mkdir -p $artifactsFolder |
||||
|
||||
|
||||
dotnet build ./src/DotXxlJob.Core/DotXxlJob.Core.csproj -c Release |
||||
|
||||
dotnet pack ./src/DotXxlJob.Core/DotXxlJob.Core.csproj -c Release -o $artifactsFolder |
||||
|
||||
dotnet nuget push $artifactsFolder/DotXxlJob.Core.*.nupkg -k $NUGET_KEY -s https://www.nuget.org |
||||
|
||||
@ -1,17 +1,17 @@ |
||||
set -ex |
||||
|
||||
cd $(dirname $0)/../ |
||||
|
||||
artifactsFolder="./artifacts" |
||||
|
||||
if [ -d $artifactsFolder ]; then |
||||
rm -R $artifactsFolder |
||||
fi |
||||
|
||||
mkdir -p $artifactsFolder |
||||
|
||||
dotnet restore ./DotXxlJob.sln |
||||
dotnet build ./DotXxlJob.sln -c Release |
||||
|
||||
|
||||
dotnet pack ./src/DotXxlJob.Core/DotXxlJob.Core.csproj -c Release -o $artifactsFolder |
||||
set -ex |
||||
|
||||
cd $(dirname $0)/../ |
||||
|
||||
artifactsFolder="./artifacts" |
||||
|
||||
if [ -d $artifactsFolder ]; then |
||||
rm -R $artifactsFolder |
||||
fi |
||||
|
||||
mkdir -p $artifactsFolder |
||||
|
||||
dotnet restore ./DotXxlJob.sln |
||||
dotnet build ./DotXxlJob.sln -c Release |
||||
|
||||
|
||||
dotnet pack ./src/DotXxlJob.Core/DotXxlJob.Core.csproj -c Release -o $artifactsFolder |
||||
|
||||
Loading…
Reference in new issue