bump sdk to net-9
parent
a1722a87ae
commit
d1b0f5e6d9
@ -1,6 +0,0 @@
|
|||||||
{
|
|
||||||
"sdk": {
|
|
||||||
"runtime": "dotnet",
|
|
||||||
"version": "8.0.405"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,20 +0,0 @@
|
|||||||
{
|
|
||||||
"env": [],
|
|
||||||
"build" :{
|
|
||||||
|
|
||||||
},
|
|
||||||
"prepare": {
|
|
||||||
"make": {}
|
|
||||||
},
|
|
||||||
"post_build": {
|
|
||||||
"yavsc": {
|
|
||||||
"type": "make",
|
|
||||||
"source" : {
|
|
||||||
"github": "pazof/yavsc",
|
|
||||||
"branch": "vnext"
|
|
||||||
},
|
|
||||||
"args": []
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"emails": []
|
|
||||||
}
|
|
||||||
@ -1,27 +0,0 @@
|
|||||||
SOURCE_DIR=../..
|
|
||||||
MAKEFILE_DIR=$(SOURCE_DIR)/scripts/make
|
|
||||||
MSBUILD=msbuild
|
|
||||||
|
|
||||||
all: $(BINTARGETPATH)
|
|
||||||
|
|
||||||
include $(MAKEFILE_DIR)/dnx.mk
|
|
||||||
|
|
||||||
# makes version
|
|
||||||
include $(MAKEFILE_DIR)/versioning.mk
|
|
||||||
|
|
||||||
msbuild-restore:
|
|
||||||
$(MSBUILD) $(PRJNAME).csproj /t:Restore
|
|
||||||
|
|
||||||
check: run
|
|
||||||
|
|
||||||
: project.lock.json
|
|
||||||
@dnu build --configuration=$(CONFIGURATION)
|
|
||||||
|
|
||||||
run: $(BINTARGETPATH)
|
|
||||||
ASPNET_ENV=$(ASPNET_ENV) dnx --configuration=$(CONFIGURATION) run send monthly
|
|
||||||
|
|
||||||
info:
|
|
||||||
@echo $(PRJNAME) : $(BINTARGETPATH) $(version)
|
|
||||||
|
|
||||||
# Due to NJsonSchema.CodeGeneration.CSharp package:
|
|
||||||
.PHONY: $(BINTARGETPATH)
|
|
||||||
@ -1,23 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
using Microsoft.AspNetCore.Hosting.Server;
|
|
||||||
using Microsoft.AspNetCore.Http.Features;
|
|
||||||
using Microsoft.Extensions.Configuration;
|
|
||||||
|
|
||||||
namespace Yavsc.Server
|
|
||||||
{
|
|
||||||
public class CliServerFactory : IServerFactory
|
|
||||||
{
|
|
||||||
public IFeatureCollection Initialize(IConfiguration configuration)
|
|
||||||
{
|
|
||||||
FeatureCollection featureCollection = new FeatureCollection();
|
|
||||||
return featureCollection;
|
|
||||||
}
|
|
||||||
|
|
||||||
public IDisposable Start(IFeatureCollection serverFeatures, Func<IFeatureCollection, Task> application)
|
|
||||||
{
|
|
||||||
var task = application(serverFeatures);
|
|
||||||
return task;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,7 +0,0 @@
|
|||||||
# TODO
|
|
||||||
|
|
||||||
## Refabrications
|
|
||||||
|
|
||||||
* Créer Yavsc.Client.Console et Yavsc.Client.Gui (Eto.Platform.Gtk3), en laissant un Yavsc.Client en lieu et place de ce projet
|
|
||||||
|
|
||||||
|
|
||||||
@ -1,22 +0,0 @@
|
|||||||
<?xml version="1.0"?>
|
|
||||||
<package xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
||||||
<metadata xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
|
|
||||||
<id>cli</id>
|
|
||||||
<title>Yavsc - cli</title>
|
|
||||||
<version>$version$</version>
|
|
||||||
<authors>Paul Schneider</authors>
|
|
||||||
<owners>Paul Schneider</owners>
|
|
||||||
<License>https://github.com/pazof/yavsc/blob/vnext/LICENSE</License>
|
|
||||||
<projectUrl>https://github.com/pazof/yavsc/blob/vnext/README.md</projectUrl>
|
|
||||||
<iconUrl>http://pschneider.fr:84/images/yavsc.png</iconUrl>
|
|
||||||
<requireLicenseAcceptance>true</requireLicenseAcceptance>
|
|
||||||
<description>A command line interface to Yavsc server API's</description>
|
|
||||||
<tags></tags>
|
|
||||||
<dependencies>
|
|
||||||
<dependency id="Yavsc.Server" version="$version$"></dependency>
|
|
||||||
</dependencies>
|
|
||||||
</metadata>
|
|
||||||
<files>
|
|
||||||
<file src="bin/$config$/dnx451/cli.dll" target="lib/portable-net45+win8+wp8+wpa81+Xamarin.Mac+MonoAndroid10+MonoTouch10+Xamarin.iOS10" />
|
|
||||||
</files>
|
|
||||||
</package>
|
|
||||||
@ -1,96 +0,0 @@
|
|||||||
{
|
|
||||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
||||||
"title": "CiBuildSettings",
|
|
||||||
"type": "object",
|
|
||||||
"additionalProperties": false,
|
|
||||||
"required": [
|
|
||||||
"build"
|
|
||||||
],
|
|
||||||
"properties": {
|
|
||||||
"env": {
|
|
||||||
"type": [
|
|
||||||
"array",
|
|
||||||
"null"
|
|
||||||
],
|
|
||||||
"items": {
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"build": {
|
|
||||||
"minLength": 1,
|
|
||||||
"oneOf": [
|
|
||||||
{
|
|
||||||
"$ref": "#/definitions/Command"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"prepare": {
|
|
||||||
"oneOf": [
|
|
||||||
{
|
|
||||||
"type": "null"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"$ref": "#/definitions/Command"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"post_build": {
|
|
||||||
"oneOf": [
|
|
||||||
{
|
|
||||||
"type": "null"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"$ref": "#/definitions/Command"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"emails": {
|
|
||||||
"type": [
|
|
||||||
"array",
|
|
||||||
"null"
|
|
||||||
],
|
|
||||||
"items": {
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"definitions": {
|
|
||||||
"Command": {
|
|
||||||
"type": "object",
|
|
||||||
"additionalProperties": false,
|
|
||||||
"required": [
|
|
||||||
"path"
|
|
||||||
],
|
|
||||||
"properties": {
|
|
||||||
"path": {
|
|
||||||
"type": "string",
|
|
||||||
"minLength": 1
|
|
||||||
},
|
|
||||||
"args": {
|
|
||||||
"type": [
|
|
||||||
"array",
|
|
||||||
"null"
|
|
||||||
],
|
|
||||||
"items": {
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"env": {
|
|
||||||
"type": [
|
|
||||||
"array",
|
|
||||||
"null"
|
|
||||||
],
|
|
||||||
"items": {
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"working_dir": {
|
|
||||||
"type": [
|
|
||||||
"null",
|
|
||||||
"string"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
{
|
|
||||||
"dependencies": {
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,64 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<packages>
|
|
||||||
|
|
||||||
<package id="Microsoft.AspNet.Server.Kestrel" version="1.0.0-rc1-final" targetFramework="net451" />
|
|
||||||
<package id="EntityFramework.Relational.Design" version="7.0.0-rc1-final" targetFramework="net451" />
|
|
||||||
<package id="Microsoft.AspNet.Hosting" version="1.0.0-rc1-final" targetFramework="net451" />
|
|
||||||
<package id="Microsoft.AspNet.Hosting.Abstractions" version="1.0.0-rc1-final" targetFramework="net451" />
|
|
||||||
|
|
||||||
<package id="EntityFramework.Core" version="7.0.0-rc1-final" targetFramework="net451" />
|
|
||||||
<package id="EntityFramework.Relational" version="7.0.0-rc1-final" targetFramework="net451" />
|
|
||||||
<package id="Microsoft.AspNet.Identity.EntityFramework" version="3.0.0-rc1-final" targetFramework="net451" />
|
|
||||||
<package id="Microsoft.AspNet.Mvc" version="6.0.0-rc1-final" targetFramework="net451" />
|
|
||||||
<package id="Microsoft.AspNet.Mvc.Razor" version="6.0.0-rc1-final" targetFramework="net451" />
|
|
||||||
<package id="Microsoft.AspNet.Mvc.Razor.Host" version="6.0.0-rc1-final" targetFramework="net451" />
|
|
||||||
|
|
||||||
<package id="Microsoft.Extensions.Localization" version="1.0.0-rc1-final" targetFramework="net451" />
|
|
||||||
<package id="Microsoft.Extensions.Localization.Abstractions" version="1.0.0-rc1-final" targetFramework="net451" />
|
|
||||||
<package id="Microsoft.CodeAnalysis.Analyzers" version="1.0.0" targetFramework="net451" />
|
|
||||||
<package id="Microsoft.CodeAnalysis.Common" version="1.1.0-rc1" targetFramework="net451" />
|
|
||||||
<package id="Microsoft.CodeAnalysis.CSharp" version="1.1.0-rc1" targetFramework="net451" />
|
|
||||||
<package id="Microsoft.Dnx.Compilation.Abstractions" version="1.0.0-rc1-final" targetFramework="net451" />
|
|
||||||
<package id="Microsoft.Dnx.Compilation.CSharp.Abstractions" version="1.0.0-rc1-final" targetFramework="net451" />
|
|
||||||
<package id="Microsoft.Dnx.Compilation.CSharp.Common" version="1.0.0-rc1-final" targetFramework="net451" />
|
|
||||||
<package id="Microsoft.Extensions.Caching.Abstractions" version="1.0.0-rc1-final" targetFramework="net451" />
|
|
||||||
<package id="Microsoft.Extensions.Caching.Memory" version="1.0.0-rc1-final" targetFramework="net451" />
|
|
||||||
<package id="Microsoft.Extensions.Configuration" version="1.0.0-rc1-final" targetFramework="net451" />
|
|
||||||
<package id="Microsoft.Extensions.Configuration.Abstractions" version="1.0.0-rc1-final" targetFramework="net451" />
|
|
||||||
<package id="Microsoft.Extensions.Configuration.FileExtensions" version="1.0.0-rc1-final" targetFramework="net451" />
|
|
||||||
<package id="Microsoft.Extensions.Configuration.Json" version="1.0.0-rc1-final" targetFramework="net451" />
|
|
||||||
<package id="Microsoft.Extensions.DependencyInjection" version="1.0.0-rc1-final" targetFramework="net451" />
|
|
||||||
<package id="Microsoft.Extensions.DependencyInjection.Abstractions" version="1.0.0-rc1-final" targetFramework="net451" />
|
|
||||||
<package id="Microsoft.Extensions.Logging" version="1.0.0-rc1-final" targetFramework="net451" />
|
|
||||||
<package id="Microsoft.Extensions.Logging.Abstractions" version="1.0.0-rc1-final" targetFramework="net451" />
|
|
||||||
<package id="Microsoft.Extensions.MemoryPool" version="1.0.0-rc1-final" targetFramework="net451" />
|
|
||||||
<package id="Microsoft.Extensions.OptionsModel" version="1.0.0-rc1-final" targetFramework="net451" />
|
|
||||||
<package id="Microsoft.Extensions.PlatformAbstractions" version="1.0.0-rc1-final" targetFramework="net451" />
|
|
||||||
<package id="Microsoft.Extensions.Primitives" version="1.0.0-rc1-final" targetFramework="net451" />
|
|
||||||
<package id="Microsoft.Framework.ConfigurationModel" version="1.0.0-beta4" targetFramework="net451" />
|
|
||||||
<package id="Microsoft.Framework.ConfigurationModel.Interfaces" version="1.0.0-beta4" targetFramework="net451" />
|
|
||||||
<package id="Microsoft.Framework.ConfigurationModel.Json" version="1.0.0-beta4" targetFramework="net451" />
|
|
||||||
<package id="Newtonsoft.Json" version="9.0.1" targetFramework="net451" />
|
|
||||||
<package id="Remotion.Linq" version="2.0.1" targetFramework="net451" />
|
|
||||||
<package id="System.Collections" version="4.0.11" targetFramework="net451" />
|
|
||||||
<package id="System.Collections.Immutable" version="1.1.37" targetFramework="net451" />
|
|
||||||
<package id="System.Diagnostics.Debug" version="4.0.11" targetFramework="net451" />
|
|
||||||
<package id="System.Diagnostics.DiagnosticSource" version="4.0.0-beta-23516" targetFramework="net451" />
|
|
||||||
<package id="System.Diagnostics.Tracing" version="4.0.0" targetFramework="net451" />
|
|
||||||
<package id="System.Globalization" version="4.0.11" targetFramework="net451" />
|
|
||||||
<package id="System.IO" version="4.0.0" targetFramework="net451" />
|
|
||||||
<package id="System.Linq" version="4.1.0" targetFramework="net451" />
|
|
||||||
<package id="System.Reflection" version="4.1.0" targetFramework="net451" />
|
|
||||||
<package id="System.Reflection.Extensions" version="4.0.0" targetFramework="net451" />
|
|
||||||
<package id="System.Reflection.Metadata" version="1.1.0" targetFramework="net451" />
|
|
||||||
<package id="System.Reflection.Primitives" version="4.0.0" targetFramework="net451" />
|
|
||||||
<package id="System.Resources.ResourceManager" version="4.0.1" targetFramework="net451" />
|
|
||||||
<package id="System.Runtime" version="4.0.0" targetFramework="net451" />
|
|
||||||
<package id="System.Runtime.Extensions" version="4.1.0" targetFramework="net451" />
|
|
||||||
<package id="System.Runtime.InteropServices" version="4.1.0" targetFramework="net451" />
|
|
||||||
<package id="System.Text.Encoding" version="4.0.0" targetFramework="net451" />
|
|
||||||
<package id="System.Text.Encoding.Extensions" version="4.0.0" targetFramework="net451" />
|
|
||||||
<package id="System.Threading" version="4.0.0" targetFramework="net451" />
|
|
||||||
<package id="Yavsc.Abstract" version="1.0.5-rc9" targetFramework="net451" />
|
|
||||||
<package id="Yavsc.Server" version="1.0.5-rc9" targetFramework="net451" />
|
|
||||||
</packages>
|
|
||||||
@ -1,96 +0,0 @@
|
|||||||
{
|
|
||||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
||||||
"title": "CiBuildSettings",
|
|
||||||
"type": "object",
|
|
||||||
"additionalProperties": false,
|
|
||||||
"required": [
|
|
||||||
"build"
|
|
||||||
],
|
|
||||||
"properties": {
|
|
||||||
"env": {
|
|
||||||
"type": [
|
|
||||||
"array",
|
|
||||||
"null"
|
|
||||||
],
|
|
||||||
"items": {
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"build": {
|
|
||||||
"minLength": 1,
|
|
||||||
"oneOf": [
|
|
||||||
{
|
|
||||||
"$ref": "#/definitions/Command"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"prepare": {
|
|
||||||
"oneOf": [
|
|
||||||
{
|
|
||||||
"type": "null"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"$ref": "#/definitions/Command"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"post_build": {
|
|
||||||
"oneOf": [
|
|
||||||
{
|
|
||||||
"type": "null"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"$ref": "#/definitions/Command"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"emails": {
|
|
||||||
"type": [
|
|
||||||
"array",
|
|
||||||
"null"
|
|
||||||
],
|
|
||||||
"items": {
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"definitions": {
|
|
||||||
"Command": {
|
|
||||||
"type": "object",
|
|
||||||
"additionalProperties": false,
|
|
||||||
"required": [
|
|
||||||
"path"
|
|
||||||
],
|
|
||||||
"properties": {
|
|
||||||
"path": {
|
|
||||||
"type": "string",
|
|
||||||
"minLength": 1
|
|
||||||
},
|
|
||||||
"args": {
|
|
||||||
"type": [
|
|
||||||
"array",
|
|
||||||
"null"
|
|
||||||
],
|
|
||||||
"items": {
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"env": {
|
|
||||||
"type": [
|
|
||||||
"array",
|
|
||||||
"null"
|
|
||||||
],
|
|
||||||
"items": {
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"working_dir": {
|
|
||||||
"type": [
|
|
||||||
"null",
|
|
||||||
"string"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,70 +0,0 @@
|
|||||||
{
|
|
||||||
"version": "1.0.6-*",
|
|
||||||
"commands": {
|
|
||||||
"run": "run"
|
|
||||||
},
|
|
||||||
"resource": "Resources/**/*.resx",
|
|
||||||
"buildOptions": {
|
|
||||||
"debugType": "full",
|
|
||||||
"emitEntryPoint": true,
|
|
||||||
"compile": {
|
|
||||||
"include": "*.cs",
|
|
||||||
"exclude": [
|
|
||||||
"contrib"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"embed": [
|
|
||||||
"Resources/**/*.resx"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"dependencies": {
|
|
||||||
"EntityFramework7.Npgsql": "3.1.0-rc1-3",
|
|
||||||
"MailKit": "1.12.0",
|
|
||||||
"Microsoft.AspNet.Hosting": "1.0.0-rc1-final",
|
|
||||||
"Microsoft.AspNet.Identity": "3.0.0-rc1-*",
|
|
||||||
"Microsoft.AspNet.Identity.EntityFramework": "3.0.0-rc1-*",
|
|
||||||
"Microsoft.AspNet.Mvc": "6.0.0-rc1-*",
|
|
||||||
"Microsoft.AspNet.SignalR.Client": "2.2.1",
|
|
||||||
"Microsoft.CodeAnalysis": "1.1.0-rc1-20151109-01",
|
|
||||||
"Microsoft.Extensions.CodeGeneration": "1.0.0-beta5",
|
|
||||||
"Microsoft.Extensions.CodeGenerators.Mvc": "1.0.0-rc1-final",
|
|
||||||
"Microsoft.Extensions.Configuration.Abstractions": "1.0.0-rc1-final",
|
|
||||||
"Microsoft.Extensions.Configuration.FileProviderExtensions": "1.0.0-rc1-final",
|
|
||||||
"Microsoft.Extensions.Configuration.UserSecrets": "1.0.0-rc1-final",
|
|
||||||
"Microsoft.Extensions.CommandLineUtils": "1.1.1",
|
|
||||||
"Microsoft.Extensions.DependencyInjection": "1.0.0-rc1-final",
|
|
||||||
"Microsoft.Extensions.DependencyInjection.Abstractions": "1.0.0-rc1-final",
|
|
||||||
"Microsoft.Extensions.Globalization.CultureInfoCache": "1.0.0-rc1-final",
|
|
||||||
"Microsoft.Extensions.Logging": "1.0.0-rc1-final",
|
|
||||||
"Microsoft.Extensions.Logging.Console": "1.0.0-rc1-final",
|
|
||||||
"Microsoft.Extensions.Logging.Debug": "1.0.0-rc1-final",
|
|
||||||
"Microsoft.Extensions.Localization": "1.0.0-rc1-final",
|
|
||||||
"Microsoft.Extensions.Localization.Abstractions": "1.0.0-rc1-final",
|
|
||||||
"Microsoft.Extensions.Options": "0.0.1-alpha",
|
|
||||||
"Microsoft.Extensions.WebEncoders": "1.0.0-rc1-final",
|
|
||||||
"Microsoft.Extensions.WebEncoders.Core": "1.0.0-rc1-final",
|
|
||||||
"Microsoft.Framework.Configuration.Json": "1.0.0-beta8",
|
|
||||||
"Microsoft.Framework.ConfigurationModel.Json": "1.0.0-beta4",
|
|
||||||
"Newtonsoft.Json": "7.0.1",
|
|
||||||
"NJsonSchema.CodeGeneration.CSharp": "10.0.27",
|
|
||||||
"Yavsc": {
|
|
||||||
"target": "project"
|
|
||||||
},
|
|
||||||
"Microsoft.Dnx.Host": "1.0.0-rc1-final",
|
|
||||||
"Microsoft.Dnx.Runtime": "1.0.0-rc1-final",
|
|
||||||
"Microsoft.Dnx.DesignTimeHost": "1.0.0-rc1-final",
|
|
||||||
"YamlDotNet": "8.0.0"
|
|
||||||
},
|
|
||||||
"frameworks": {
|
|
||||||
"dnx451": {
|
|
||||||
"System.Net": {},
|
|
||||||
"System.Xml": {}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"scripts": {
|
|
||||||
"postrestore": [
|
|
||||||
"grep -v '\\.\\.dll' project.lock.json > new.project.lock.json",
|
|
||||||
"mv new.project.lock.json project.lock.json"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,8 +0,0 @@
|
|||||||
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
|
||||||
# yarn lockfile v1
|
|
||||||
|
|
||||||
|
|
||||||
entities@^1.1.1:
|
|
||||||
version "1.1.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/entities/-/entities-1.1.2.tgz#bdfa735299664dfafd34529ed4f8522a275fea56"
|
|
||||||
integrity sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w==
|
|
||||||
@ -1,41 +0,0 @@
|
|||||||
CONFIGURATION=Debug
|
|
||||||
BINTARGET=bin/$(CONFIGURATION)/dnx451/test.dll
|
|
||||||
SOURCE_DIR=../..
|
|
||||||
MAKEFILE_DIR=$(SOURCE_DIR)/scripts/make
|
|
||||||
MSBUILD=msbuild
|
|
||||||
YAVSCSRC=../../src
|
|
||||||
|
|
||||||
all: test
|
|
||||||
|
|
||||||
include $(MAKEFILE_DIR)/dnx.mk
|
|
||||||
|
|
||||||
$(YAVSCSRC)/Yavsc/bin/$(CONFIGURATION)/dnx451/Yavsc.dll:
|
|
||||||
make -C $(YAVSCSRC)/Yavsc
|
|
||||||
|
|
||||||
$(YAVSCSRC)/Yavsc.Abstract/bin/$(CONFIGURATION)/dnx451/Yavsc.Abstract.dll:
|
|
||||||
make -C $(YAVSCSRC)/Yavsc.Abstract
|
|
||||||
|
|
||||||
$(YAVSCSRC)/Yavsc.Server/bin/$(CONFIGURATION)/dnx451/Yavsc.Server.dll:
|
|
||||||
make -C $(YAVSCSRC)/Yavsc.Server
|
|
||||||
|
|
||||||
$(BINTARGET): project.lock.json $(YAVSCSRC)/Yavsc/bin/$(CONFIGURATION)/dnx451/Yavsc.dll $(YAVSCSRC)/Yavsc.Abstract/bin/$(CONFIGURATION)/dnx451/Yavsc.Abstract.dll $(YAVSCSRC)/Yavsc.Server/bin/$(CONFIGURATION)/dnx451/Yavsc.Server.dll
|
|
||||||
dnu build --configuration $(CONFIGURATION)
|
|
||||||
|
|
||||||
non-regression: $(BINTARGET)
|
|
||||||
ASPNET_ENV=Development dnx test -maxthreads 1 -trait regression=non
|
|
||||||
|
|
||||||
all-tests: $(BINTARGET)
|
|
||||||
ASPNET_ENV=Testing dnx test -maxthreads 1
|
|
||||||
|
|
||||||
regression: $(BINTARGET)
|
|
||||||
ASPNET_ENV=Testing dnx test -maxthreads 1 -trait regression=oui
|
|
||||||
|
|
||||||
test: all-tests
|
|
||||||
|
|
||||||
testdev: $(BINTARGET)
|
|
||||||
ASPNET_ENV=Development dnx test -maxthreads 1 -trait dev=wip
|
|
||||||
|
|
||||||
clean:
|
|
||||||
rm -rf bin obj testingrepo
|
|
||||||
|
|
||||||
.PHONY: test
|
|
||||||
@ -1,23 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
using Microsoft.AspNetCore.Hosting.Server;
|
|
||||||
using Microsoft.AspNetCore.Http.Features;
|
|
||||||
using Microsoft.Extensions.Configuration;
|
|
||||||
|
|
||||||
namespace Yavsc.Server
|
|
||||||
{
|
|
||||||
public class CliServerFactory : IServerFactory
|
|
||||||
{
|
|
||||||
public IFeatureCollection Initialize(IConfiguration configuration)
|
|
||||||
{
|
|
||||||
FeatureCollection featureCollection = new FeatureCollection();
|
|
||||||
return featureCollection;
|
|
||||||
}
|
|
||||||
|
|
||||||
public IDisposable Start(IFeatureCollection serverFeatures, Func<IFeatureCollection, Task> application)
|
|
||||||
{
|
|
||||||
var task = application(serverFeatures);
|
|
||||||
return task;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Loading…
Reference in New Issue