Revert old project names - part 2

This commit is contained in:
Nikolay Molchanov 2016-07-18 18:37:19 +03:00
parent 664453df78
commit f49b5e6df8
5 changed files with 16 additions and 16 deletions

View File

@ -1,4 +1,4 @@
@set project=..\src\Flurl.Library\
@set project=..\src\Flurl\
call dotnet restore --verbosity Error %project%
@if ERRORLEVEL 1 (

View File

@ -14,7 +14,7 @@ echo Error! Generation cs file failed.
exit /b 1
)
@set project=..\src\Flurl.Http.Library\
@set project=..\src\Flurl.Http\
call dotnet restore --verbosity Error %project%
@if ERRORLEVEL 1 (

View File

@ -2,7 +2,7 @@
<package >
<metadata>
<id>Flurl.Http</id>
<version>1.0.0</version>
<version>1.0.1-beta</version>
<title>Flurl.Http</title>
<authors>Todd Menier</authors>
<projectUrl>http://tmenier.github.io/Flurl</projectUrl>
@ -107,10 +107,10 @@
</dependencies>
</metadata>
<files>
<file src="..\..\src\Flurl.Http.Library\bin\Release\portable45-net45+win8+wpa81\Flurl.Http.*" target="lib\monoandroid" />
<file src="..\..\src\Flurl.Http.Library\bin\Release\portable45-net45+win8+wpa81\Flurl.Http.*" target="lib\monotouch" />
<file src="..\..\src\Flurl.Http.Library\bin\Release\portable45-net45+win8+wpa81\Flurl.Http.*" target="lib\xamarin.ios" />
<file src="..\..\src\Flurl.Http.Library\bin\Release\portable45-net45+win8+wpa81\Flurl.Http.*" target="lib\xamarin.mac" />
<file src="..\..\src\Flurl.Http.Library\bin\Release\**\Flurl.Http.*" target="lib\" />
<file src="..\..\src\Flurl.Http\bin\Release\portable45-net45+win8+wpa81\Flurl.Http.*" target="lib\monoandroid" />
<file src="..\..\src\Flurl.Http\bin\Release\portable45-net45+win8+wpa81\Flurl.Http.*" target="lib\monotouch" />
<file src="..\..\src\Flurl.Http\bin\Release\portable45-net45+win8+wpa81\Flurl.Http.*" target="lib\xamarin.ios" />
<file src="..\..\src\Flurl.Http\bin\Release\portable45-net45+win8+wpa81\Flurl.Http.*" target="lib\xamarin.mac" />
<file src="..\..\src\Flurl.Http\bin\Release\**\Flurl.Http.*" target="lib\" />
</files>
</package>

View File

@ -2,7 +2,7 @@
<package >
<metadata>
<id>Flurl</id>
<version>2.1.0</version>
<version>2.1.1-beta</version>
<title>Flurl</title>
<authors>Todd Menier</authors>
<projectUrl>http://tmenier.github.io/Flurl</projectUrl>
@ -52,10 +52,10 @@
</dependencies>
</metadata>
<files>
<file src="..\..\src\Flurl.Library\bin\Release\portable40-net40+win8+wpa81\Flurl.*" target="lib\monoandroid" />
<file src="..\..\src\Flurl.Library\bin\Release\portable40-net40+win8+wpa81\Flurl.*" target="lib\monotouch" />
<file src="..\..\src\Flurl.Library\bin\Release\portable40-net40+win8+wpa81\Flurl.*" target="lib\xamarin.ios" />
<file src="..\..\src\Flurl.Library\bin\Release\portable40-net40+win8+wpa81\Flurl.*" target="lib\xamarin.mac" />
<file src="..\..\src\Flurl.Library\bin\Release\**\Flurl.*" target="lib\" />
<file src="..\..\src\Flurl\bin\Release\portable40-net40+win8+wpa81\Flurl.*" target="lib\monoandroid" />
<file src="..\..\src\Flurl\bin\Release\portable40-net40+win8+wpa81\Flurl.*" target="lib\monotouch" />
<file src="..\..\src\Flurl\bin\Release\portable40-net40+win8+wpa81\Flurl.*" target="lib\xamarin.ios" />
<file src="..\..\src\Flurl\bin\Release\portable40-net40+win8+wpa81\Flurl.*" target="lib\xamarin.mac" />
<file src="..\..\src\Flurl\bin\Release\**\Flurl.*" target="lib\" />
</files>
</package>

View File

@ -16,14 +16,14 @@ namespace Flurl.Test
{
[Test]
public void flurl_versions_are_consistent() {
var projVer = GetProjectVersion(@"src\Flurl.Library\project.json");
var projVer = GetProjectVersion(@"src\Flurl\project.json");
var nuspecVer = GetNuspecVersion(@"build\nuspec\Flurl.nuspec");
Assert.AreEqual(projVer, nuspecVer);
}
[Test]
public void flurlhttp_versions_are_consistent() {
var projVer = GetProjectVersion(@"src\Flurl.Http.Library\project.json");
var projVer = GetProjectVersion(@"src\Flurl.Http\project.json");
var nuspecVer = GetNuspecVersion(@"build\nuspec\Flurl.Http.nuspec");
Assert.AreEqual(projVer, nuspecVer);
}