Skip to content

Commit

Permalink
Перенос mono -> dotnet core
Browse files Browse the repository at this point in the history
  • Loading branch information
zloy-zhake committed Feb 10, 2017
1 parent c0ec1e7 commit 7939277
Show file tree
Hide file tree
Showing 21 changed files with 6,981 additions and 133 deletions.
40 changes: 0 additions & 40 deletions .gitignore

This file was deleted.

21 changes: 10 additions & 11 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,22 @@
"version": "0.2.0",
"configurations": [
{
"name": "Launch",
"type": "mono",
"name": ".NET Core Launch (console)",
"type": "coreclr",
"request": "launch",
"program": "${workspaceRoot}/bin/Debug/iag4t.exe",
"preLaunchTask": "build",
"program": "${workspaceRoot}/bin/Debug/netcoreapp1.0/iag4t.dll",
"args": [],
"cwd": "${workspaceRoot}",
"preLaunchTask": "",
"runtimeExecutable": null,
"env": {},
"externalConsole": false
"externalConsole": false,
"stopAtEntry": false,
"internalConsoleOptions": "openOnSessionStart"
},
{
"name": "Attach",
"type": "mono",
"name": ".NET Core Attach",
"type": "coreclr",
"request": "attach",
"address": "localhost",
"port": 55555
"processId": "${command.pickProcess}"
}
]
}
16 changes: 16 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"version": "0.1.0",
"command": "dotnet",
"isShellCommand": true,
"args": [],
"tasks": [
{
"taskName": "build",
"args": [
"${workspaceRoot}/iag4t.csproj"
],
"isBuildCommand": true,
"problemMatcher": "$msCompile"
}
]
}
27 changes: 0 additions & 27 deletions Properties/AssemblyInfo.cs

This file was deleted.

23 changes: 23 additions & 0 deletions bin/Debug/netcoreapp1.0/iag4t.deps.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v1.0",
"signature": "da39a3ee5e6b4b0d3255bfef95601890afd80709"
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v1.0": {
"iag4t/1.0.0": {
"runtime": {
"iag4t.dll": {}
}
}
}
},
"libraries": {
"iag4t/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
}
}
}
Binary file added bin/Debug/netcoreapp1.0/iag4t.dll
Binary file not shown.
Binary file added bin/Debug/netcoreapp1.0/iag4t.pdb
Binary file not shown.
7 changes: 7 additions & 0 deletions bin/Debug/netcoreapp1.0/iag4t.runtimeconfig.dev.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"runtimeOptions": {
"additionalProbingPaths": [
"/home/zhake/.nuget/packages"
]
}
}
8 changes: 8 additions & 0 deletions bin/Debug/netcoreapp1.0/iag4t.runtimeconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"runtimeOptions": {
"framework": {
"name": "Microsoft.NETCore.App",
"version": "1.0.0"
}
}
}
43 changes: 5 additions & 38 deletions iag4t.csproj
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,41 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
<ProjectGuid>{5672220D-570B-4F81-AD49-7E7B4295F022}</ProjectGuid>
<OutputType>Exe</OutputType>
<RootNamespace>iag4t</RootNamespace>
<AssemblyName>iag4t</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<TargetFramework>netcoreapp1.0</TargetFramework>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug</OutputPath>
<DefineConstants>DEBUG;</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Externalconsole>true</Externalconsole>
<PlatformTarget>x86</PlatformTarget>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
<DebugType>full</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release</OutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Externalconsole>true</Externalconsole>
<PlatformTarget>x86</PlatformTarget>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
</ItemGroup>
<ItemGroup>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="AnswerGenerator.cs" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
</Project>

</Project>
17 changes: 0 additions & 17 deletions iag4t.sln

This file was deleted.

26 changes: 26 additions & 0 deletions input
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
What kind of a type is char(n)?
fixed-length character string with user-specified length n
What kind of a type is varchar(n)?
variable-length character string with user-specified maximum length n
What kind of a type is int?
integer
What kind of a type is smallint?
small integer
What kind of a type is numeric(p, d)?
fixed-point number with user-specified precision.
What kind of a type are real and double precision?
floating-point and double-precision floating-point numbers with machine-dependent precision
What kind of a type is float(n)?
floating-point number, with precision of at least n digits.
What is a null value?
a value that indicates an absent value that may exist but be unknown or that may not exist at all
What does create table command do?
define an SQL relation
What does insert command do?
load data into the relation
What does delete command do?
delete tuples from a relation
What does drop table command do?
remove a relation from an SQL database
What does alter table command do?
add attributes to an existing relation
1 change: 1 addition & 0 deletions obj/Debug/netcoreapp1.0/CoreCompileInputs.cache
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
803b7956222f56f4a6b603fe44e2f1678af73667
13 changes: 13 additions & 0 deletions obj/Debug/netcoreapp1.0/iag4t.AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
// Generated by the MSBuild WriteCodeFragment class.

using System;
using System.Reflection;

[assembly: System.Reflection.AssemblyCompanyAttribute("iag4t")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyDescriptionAttribute("Package Description")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("iag4t")]
[assembly: System.Reflection.AssemblyTitleAttribute("iag4t")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
16 changes: 16 additions & 0 deletions obj/Debug/netcoreapp1.0/iag4t.csproj.FileListAbsolute.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/tmp/iag4t/bin/Debug/netcoreapp1.0/iag4t.deps.json
/tmp/iag4t/bin/Debug/netcoreapp1.0/iag4t.runtimeconfig.json
/tmp/iag4t/bin/Debug/netcoreapp1.0/iag4t.runtimeconfig.dev.json
/tmp/iag4t/bin/Debug/netcoreapp1.0/iag4t.dll
/tmp/iag4t/bin/Debug/netcoreapp1.0/iag4t.pdb
/tmp/iag4t/obj/Debug/netcoreapp1.0/iag4t.AssemblyInfo.cs
/tmp/iag4t/obj/Debug/netcoreapp1.0/iag4t.dll
/tmp/iag4t/obj/Debug/netcoreapp1.0/iag4t.pdb
/home/zhake/Projects/iag4t/bin/Debug/netcoreapp1.0/iag4t.deps.json
/home/zhake/Projects/iag4t/bin/Debug/netcoreapp1.0/iag4t.runtimeconfig.json
/home/zhake/Projects/iag4t/bin/Debug/netcoreapp1.0/iag4t.runtimeconfig.dev.json
/home/zhake/Projects/iag4t/bin/Debug/netcoreapp1.0/iag4t.dll
/home/zhake/Projects/iag4t/bin/Debug/netcoreapp1.0/iag4t.pdb
/home/zhake/Projects/iag4t/obj/Debug/netcoreapp1.0/iag4t.AssemblyInfo.cs
/home/zhake/Projects/iag4t/obj/Debug/netcoreapp1.0/iag4t.dll
/home/zhake/Projects/iag4t/obj/Debug/netcoreapp1.0/iag4t.pdb
Binary file added obj/Debug/netcoreapp1.0/iag4t.dll
Binary file not shown.
Binary file added obj/Debug/netcoreapp1.0/iag4t.pdb
Binary file not shown.
15 changes: 15 additions & 0 deletions obj/iag4t.csproj.nuget.g.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">/home/zhake/Projects/iag4t/obj/project.assets.json</ProjectAssetsFile>
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">/home/zhake/.nuget/packages/</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">/home/zhake/.nuget/packages/</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">4.0.0-rc3-2188</NuGetToolVersion>
</PropertyGroup>
<PropertyGroup>
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
</PropertyGroup>
</Project>
6 changes: 6 additions & 0 deletions obj/iag4t.csproj.nuget.g.targets
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
</PropertyGroup>
</Project>
Loading

0 comments on commit 7939277

Please sign in to comment.