Skip to content

Commit 847e116

Browse files
committed
1. u lib version
1 parent 760db24 commit 847e116

File tree

14 files changed

+65
-52
lines changed

14 files changed

+65
-52
lines changed

Directory.Build.props

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<Project>
2+
3+
<Import Project="build\version.props" />
4+
5+
<PropertyGroup Label="Package">
6+
<Product>SmartCode</Product>
7+
<Copyright>2019 SmartCode, Inc.</Copyright>
8+
<PackageId>$(AssemblyName)</PackageId>
9+
<Authors>Ahoo Wang</Authors>
10+
<MaintainerEmail>[email protected]</MaintainerEmail>
11+
<LangVersion>latest</LangVersion>
12+
<RepositoryUrl>https://github.com/Smart-Kit/SmartCode</RepositoryUrl>
13+
<RepositoryType>git</RepositoryType>
14+
<RepositoryRoot>$(MSBuildThisFileDirectory)</RepositoryRoot>
15+
<PackageIconUrl>https://raw.githubusercontent.com/Smart-Kit/SmartCode/master/doc/Logo.png</PackageIconUrl>
16+
<PackageProjectUrl>https://github.com/Smart-Kit/SmartCode</PackageProjectUrl>
17+
<PackageRequireLicenseAcceptance>True</PackageRequireLicenseAcceptance>
18+
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
19+
<PackageTags>SmartCode SmartSql</PackageTags>
20+
<Description>
21+
SmartCode = IDataSource -&gt; IBuildTask -&gt; IOutput =&gt; Build Everything!!!
22+
</Description>
23+
</PropertyGroup>
24+
</Project>

SmartCode.sln

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SmartCode.ETL.SQLite", "src
2929
EndProject
3030
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SmartCode.ETL.LoadToES", "src\SmartCode.ETL.LoadToES\SmartCode.ETL.LoadToES.csproj", "{DADD6996-91C4-496D-AE97-D8EA5E33716A}"
3131
EndProject
32+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Build", "Build", "{B0F696A9-339D-4348-9032-F8DFC775ABD4}"
33+
ProjectSection(SolutionItems) = preProject
34+
Directory.Build.props = Directory.Build.props
35+
build\version.props = build\version.props
36+
EndProjectSection
37+
EndProject
3238
Global
3339
GlobalSection(SolutionConfigurationPlatforms) = preSolution
3440
Debug|Any CPU = Debug|Any CPU

build/version.props

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<Project>
2+
<PropertyGroup>
3+
<VersionMajor>2</VersionMajor>
4+
<VersionMinor>0</VersionMinor>
5+
<VersionPatch>5</VersionPatch>
6+
<VersionPrefix>$(VersionMajor).$(VersionMinor).$(VersionPatch)</VersionPrefix>
7+
</PropertyGroup>
8+
</Project>

doc/SmartCode.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ Author: Ahoo Wang
33
DataSource:
44
Name: DbTable
55
Paramters:
6-
DbName: SmartSqlDB
6+
DbName: SmartSqlTestDB
77
DbProvider: SqlServer
8-
ConnectionString: Data Source=.;Initial Catalog=SmartSqlDB;Integrated Security=True
8+
ConnectionString: Data Source=.;Initial Catalog=SmartSqlTestDB;Integrated Security=True
99
Language: CSharp
1010
TemplateEngine:
1111
Name: Razor

src/SmartCode.App/SmartCode.App.csproj

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,10 @@
22

33
<PropertyGroup>
44
<TargetFramework>netstandard2.0</TargetFramework>
5-
<LangVersion>7.1</LangVersion>
6-
<Version>1.2.0</Version>
75
</PropertyGroup>
86
<ItemGroup>
97
<PackageReference Include="Handlebars.Net" Version="1.9.5" />
10-
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="2.1.1" />
8+
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="2.2.0" />
119
</ItemGroup>
1210
<ItemGroup>
1311
<ProjectReference Include="..\SmartCode.TemplateEngine\SmartCode.TemplateEngine.csproj" />

src/SmartCode.CLI/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ static async Task Main(string[] args)
2828
if (String.IsNullOrEmpty(configPath))
2929
{
3030
Console.ForegroundColor = ConsoleColor.White;
31-
Console.WriteLine("Pleace Please enter the path to build configuration file:");
31+
Console.WriteLine("Please enter the path to build configuration file:");
3232
configPath = Console.ReadLine();
3333
if (String.IsNullOrEmpty(configPath))
3434
{

src/SmartCode.CLI/SmartCode.CLI.csproj

Lines changed: 9 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,33 +2,23 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>netcoreapp2.1</TargetFramework>
5+
<TargetFramework>netcoreapp2.2</TargetFramework>
66
<PreserveCompilationContext>true</PreserveCompilationContext>
7-
<LangVersion>latest</LangVersion>
7+
88
<PackAsTool>true</PackAsTool>
99
<ToolCommandName>SmartCode</ToolCommandName>
1010
<PackageOutputPath>./nupkg</PackageOutputPath>
1111
<Title>SmartCode.CLI</Title>
12-
<Description>
13-
SmartCode = IDataSource -&gt; IBuildTask -&gt; IOutput =&gt; Build Everything!!!
14-
</Description>
1512
<Authors>Ahoo Wang</Authors>
16-
<Copyright>Ahoo Wang</Copyright>
17-
<PackageLicenseUrl>https://raw.githubusercontent.com/Ahoo-Wang/SmartCode/master/LICENSE</PackageLicenseUrl>
18-
<RepositoryUrl>https://github.com/Ahoo-Wang/SmartCode</RepositoryUrl>
19-
<PackageProjectUrl>https://github.com/Ahoo-Wang/SmartCode</PackageProjectUrl>
20-
<RepositoryType>Github</RepositoryType>
21-
<PackageTags>SmartCode SmartSql</PackageTags>
22-
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
23-
<Version>2.0.4</Version>
24-
<PackageIconUrl>https://raw.githubusercontent.com/Ahoo-Wang/SmartCode/master/doc/Logo.png</PackageIconUrl>
25-
<PackageReleaseNotes>add SmartCode.ETL.LoadToES support ES_ID_Mapping</PackageReleaseNotes>
13+
<PackageReleaseNotes>
14+
1. fix CamelCaseConverter not work
15+
</PackageReleaseNotes>
2616
</PropertyGroup>
2717
<ItemGroup>
28-
<PackageReference Include="Microsoft.Extensions.Configuration" Version="2.1.1" />
29-
<PackageReference Include="Microsoft.Extensions.Configuration.FileExtensions" Version="2.1.1" />
30-
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="2.1.1" />
31-
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="2.1.1" />
18+
<PackageReference Include="Microsoft.Extensions.Configuration" Version="2.2.0" />
19+
<PackageReference Include="Microsoft.Extensions.Configuration.FileExtensions" Version="2.2.0" />
20+
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="2.2.0" />
21+
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="2.2.0" />
3222
</ItemGroup>
3323

3424
<ItemGroup>

src/SmartCode.CLI/appsettings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
}
99
},
1010
"SmartCode": {
11-
"Version": "v1.18.2",
11+
"Version": "v2.0.5",
1212
"Plugins": [
1313
{
1414
"Type": "SmartCode.IDataSource,SmartCode",

src/SmartCode.Db/SmartCode.Db.csproj

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
<PropertyGroup>
44
<TargetFramework>netstandard2.0</TargetFramework>
5-
<Version>1.8.0</Version>
65
</PropertyGroup>
76

87
<ItemGroup>
@@ -11,7 +10,7 @@
1110
<PackageReference Include="SmartSql.TypeHandler.Oracle" Version="1.0.0" />
1211
<PackageReference Include="System.Data.SqlClient" Version="4.6.0" />
1312
<PackageReference Include="System.Data.SQLite" Version="1.0.109.2" />
14-
<PackageReference Include="MySql.Data" Version="8.0.13" />
13+
<PackageReference Include="MySql.Data" Version="8.0.15" />
1514
<PackageReference Include="Npgsql" Version="4.0.4" />
1615
<PackageReference Include="Oracle.ManagedDataAccess.Core" Version="2.18.3" />
1716
<PackageReference Include="SmartSql" Version="3.8.12" />

src/SmartCode.ETL/SmartCode.ETL.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
<PropertyGroup>
44
<TargetFramework>netstandard2.0</TargetFramework>
5-
<LangVersion>7.1</LangVersion>
65
</PropertyGroup>
76

87
<ItemGroup>

0 commit comments

Comments
 (0)