Skip to content
This repository was archived by the owner on Feb 27, 2020. It is now read-only.

Commit e4c23d0

Browse files
committed
Update Octokit to v0.18 and build scripts
1 parent 6a8cba3 commit e4c23d0

11 files changed

Lines changed: 22 additions & 20 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ App_Data/
3131
packages/
3232
*.nupkg
3333
scriptcs_packages
34+
scriptcs_packages.config
3435
packaging/
3536
tools/
3637
.fake/

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ Then run the following command in a shell from the root of the repository.
6464

6565
Once the NuGet package has been created run the following commands to test the new package.
6666
```
67-
.\build.cmd RunTests
67+
.\build.cmd RunEndToEndTests
6868
```
6969

7070
##### Publish NuGet package to NuGet.org

ReleaseNotes.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
* 0.5.2 - Update ALL THE THINGS
2+
* 0.5.3 - Octokit.net v0.18 - Bringing The Thunder

ScriptCs.Octokit.sln

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

22
Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio 14
4-
VisualStudioVersion = 14.0.23107.0
4+
VisualStudioVersion = 14.0.24720.0
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ScriptCs.Octokit", "src\ScriptCs.Octokit\ScriptCs.Octokit.csproj", "{97F549B0-B8AE-4908-850E-F36568124B95}"
77
EndProject
@@ -19,6 +19,11 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Sample", "Sample", "{996696
1919
src\ScriptCs.Octokit.Sample\sample.csx = src\ScriptCs.Octokit.Sample\sample.csx
2020
EndProjectSection
2121
EndProject
22+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution", "Solution", "{9D48D6E6-6573-4236-9CB7-568751054E3B}"
23+
ProjectSection(SolutionItems) = preProject
24+
README.md = README.md
25+
EndProjectSection
26+
EndProject
2227
Global
2328
GlobalSection(SolutionConfigurationPlatforms) = preSolution
2429
Debug|Any CPU = Debug|Any CPU

build.cmd

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
@echo off
22

3+
IF NOT EXIST .nuget\NuGet.exe (
4+
powershell -Command "Start-BitsTransfer -Source https://dist.nuget.org/win-x86-commandline/latest/nuget.exe -Destination .nuget\NuGet.exe"
5+
)
6+
37
".nuget\NuGet.exe" "install" "FAKE.Core" "-OutputDirectory" "tools" "-ExcludeVersion" "-version" "4.4.2"
48

59
:build

build.fsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,10 +115,10 @@ Target "PublishPackage" DoNothing
115115
==> "AssemblyInfo"
116116
==> "BuildApp"
117117
==> "UnitTests"
118-
==> "Default"
119118
==> "CreateNuGetPackage"
120119
==> "CreatePackage"
121120
==> "EndToEndTests"
121+
==> "Default"
122122
=?> ("PublishNuGetPackage", hasBuildParam "nugetApiKey")
123123
==> "PublishPackage"
124124

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
scriptcs -cl
2+
rm scriptcs_packages.config
3+
scriptcs -i ScriptCs.Octokit
4+
scriptcs sample.csx
Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1 @@
1-
@echo off
2-
scriptcs -cl
3-
del scriptcs_packages.config
4-
scriptcs -i ScriptCs.Octokit
5-
scriptcs sample.csx
1+
powershell -File "RunIntegrationTest.ps1"

src/ScriptCs.Octokit.Sample/scriptcs_packages.config

Lines changed: 0 additions & 9 deletions
This file was deleted.

src/ScriptCs.Octokit/ScriptCs.Octokit.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232
<WarningLevel>4</WarningLevel>
3333
</PropertyGroup>
3434
<ItemGroup>
35-
<Reference Include="Octokit, Version=0.16.0.0, Culture=neutral, processorArchitecture=MSIL">
36-
<HintPath>..\..\packages\Octokit.0.16.0\lib\net45\Octokit.dll</HintPath>
35+
<Reference Include="Octokit, Version=0.18.0.0, Culture=neutral, processorArchitecture=MSIL">
36+
<HintPath>..\..\packages\Octokit.0.18.0\lib\net45\Octokit.dll</HintPath>
3737
<Private>True</Private>
3838
</Reference>
3939
<Reference Include="ScriptCs.Contracts, Version=0.15.0.0, Culture=neutral, processorArchitecture=MSIL">

0 commit comments

Comments
 (0)