Commit Graph

49 Commits

Author SHA1 Message Date
dependabot[bot]
356588288e Bump Cake.Codecov from 1.0.0 to 1.0.1 in /build (#2316)
Bumps [Cake.Codecov](https://github.com/cake-contrib/Cake.Codecov) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/cake-contrib/Cake.Codecov/releases)
- [Changelog](https://github.com/cake-contrib/Cake.Codecov/blob/develop/GitReleaseManager.yaml)
- [Commits](https://github.com/cake-contrib/Cake.Codecov/compare/1.0.0...1.0.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-29 10:36:29 -03:00
dependabot[bot]
cd0dc8935e Bump Cake.Frosting from 1.0.0 to 1.1.0 in /build (#2313)
Bumps [Cake.Frosting](https://github.com/cake-build/cake) from 1.0.0 to 1.1.0.
- [Release notes](https://github.com/cake-build/cake/releases)
- [Changelog](https://github.com/cake-build/cake/blob/develop/ReleaseNotes.md)
- [Commits](https://github.com/cake-build/cake/compare/v1.0.0...v1.1.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-08 08:39:00 -04:00
dependabot[bot]
2e5fb68518 Bump Cake.Coverlet from 2.5.1 to 2.5.4 in /build (#2305)
Bumps [Cake.Coverlet](https://github.com/romanx/Cake.Coverlet) from 2.5.1 to 2.5.4.
- [Release notes](https://github.com/romanx/Cake.Coverlet/releases)
- [Commits](https://github.com/romanx/Cake.Coverlet/compare/v2.5.1...v2.5.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-22 08:23:51 -04:00
dependabot[bot]
8b0fb13685 Bump Codecov from 1.12.3 to 1.12.4 in /build (#2285)
* Bump Codecov from 1.12.3 to 1.12.4 in /build

Bumps [Codecov](https://github.com/codecov/codecov-exe) from 1.12.3 to 1.12.4.
- [Release notes](https://github.com/codecov/codecov-exe/releases)
- [Changelog](https://github.com/codecov/codecov-exe/blob/master/Changelog.md)
- [Commits](https://github.com/codecov/codecov-exe/compare/1.12.3...1.12.4)

Signed-off-by: dependabot[bot] <support@github.com>

* fix path to codecov executable

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Brendan Forster <github@brendanforster.com>
2021-02-21 17:10:51 -04:00
dependabot[bot]
a28002a8df Bump Cake.Codecov from 0.9.1 to 1.0.0 in /build (#2301)
Bumps [Cake.Codecov](https://github.com/cake-contrib/Cake.Codecov) from 0.9.1 to 1.0.0.
- [Release notes](https://github.com/cake-contrib/Cake.Codecov/releases)
- [Changelog](https://github.com/cake-contrib/Cake.Codecov/blob/develop/GitReleaseManager.yaml)
- [Commits](https://github.com/cake-contrib/Cake.Codecov/compare/0.9.1...1.0.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-13 17:54:35 -04:00
Mattias Karlsson
70a380a4d0 (build) Updated Cake Frosting to version 1.0.0 (#2289) 2021-02-13 15:40:41 -04:00
dependabot[bot]
e6ea264f9e Bump Codecov from 1.10.0 to 1.12.3 in /build (#2245)
* Bump Codecov from 1.10.0 to 1.12.3 in /build

Bumps [Codecov](https://github.com/codecov/codecov-exe) from 1.10.0 to 1.12.3.
- [Release notes](https://github.com/codecov/codecov-exe/releases)
- [Changelog](https://github.com/codecov/codecov-exe/blob/master/Changelog.md)
- [Commits](https://github.com/codecov/codecov-exe/compare/1.10.0...1.12.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-06 10:13:26 -03:00
dependabot[bot]
6a0d404263 Bump Cake.Frosting from 0.38.4 to 0.38.5 in /build (#2256)
Bumps [Cake.Frosting](https://github.com/cake-build/frosting) from 0.38.4 to 0.38.5.
- [Release notes](https://github.com/cake-build/frosting/releases)
- [Changelog](https://github.com/cake-build/frosting/blob/develop/GitReleaseManager.yaml)
- [Commits](https://github.com/cake-build/frosting/compare/v0.38.4...v0.38.5)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-06 09:47:58 -03:00
dependabot[bot]
961e0eab36 Bump Cake.Frosting from 0.38.2 to 0.38.4 in /build (#2230)
Bumps [Cake.Frosting](https://github.com/cake-build/frosting) from 0.38.2 to 0.38.4.
- [Release notes](https://github.com/cake-build/frosting/releases)
- [Changelog](https://github.com/cake-build/frosting/blob/develop/GitReleaseManager.yaml)
- [Commits](https://github.com/cake-build/frosting/compare/v0.38.2...v0.38.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-07 18:42:42 -03:00
dependabot[bot]
501ef958ed Bump Cake.Coverlet from 2.4.2 to 2.5.1 in /build (#2244)
Bumps [Cake.Coverlet](https://github.com/romanx/Cake.Coverlet) from 2.4.2 to 2.5.1.
- [Release notes](https://github.com/romanx/Cake.Coverlet/releases)
- [Commits](https://github.com/romanx/Cake.Coverlet/compare/v2.4.2...v2.5.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-07 18:34:49 -03:00
dependabot[bot]
3f76a25da2 Bump Cake.Codecov from 0.8.0 to 0.9.1 in /build (#2229)
Bumps [Cake.Codecov](https://github.com/cake-contrib/Cake.Codecov) from 0.8.0 to 0.9.1.
- [Release notes](https://github.com/cake-contrib/Cake.Codecov/releases)
- [Changelog](https://github.com/cake-contrib/Cake.Codecov/blob/develop/GitReleaseManager.yaml)
- [Commits](https://github.com/cake-contrib/Cake.Codecov/compare/0.8.0...0.9.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-27 09:55:31 -03:00
dependabot[bot]
9a234930c9 Bump Cake.Frosting from 0.37.0 to 0.38.2 in /build (#2218)
Bumps [Cake.Frosting](https://github.com/cake-build/frosting) from 0.37.0 to 0.38.2.
- [Release notes](https://github.com/cake-build/frosting/releases)
- [Changelog](https://github.com/cake-build/frosting/blob/develop/GitReleaseManager.yaml)
- [Commits](https://github.com/cake-build/frosting/compare/v0.37.0...v0.38.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-06-29 09:13:20 -03:00
Brendan Forster
88f47c7773 check new branch in config 2020-06-09 18:35:52 -03:00
Brendan Forster
3932e939eb move dotnet-format global tool out of Lifetime (#2109) 2020-02-24 20:04:35 -04:00
dependabot-preview[bot]
804aa48344 Bump Cake.Frosting from 0.36.0 to 0.37.0 in /build (#2096)
Bumps [Cake.Frosting](https://github.com/cake-build/frosting) from 0.36.0 to 0.37.0.
- [Release notes](https://github.com/cake-build/frosting/releases)
- [Commits](https://github.com/cake-build/frosting/compare/v0.36.0...v0.37.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-11 08:26:32 -05:00
dependabot-preview[bot]
2b2626be0d Bump System.Reactive from 3.1.0 to 4.3.2 (#2055)
* drop mentions of net45 from core

* Bump System.Reactive from 3.1.0 to 4.3.2

Bumps [System.Reactive](https://github.com/dotnet/reactive) from 3.1.0 to 4.3.2.
- [Release notes](https://github.com/dotnet/reactive/releases)
- [Commits](https://github.com/dotnet/reactive/compare/v3.1.0...rxnet-v4.3.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* upgrade from net452 to net46 in test projects

* drop netstandard1.1 support

* correct this test reference

* add necessary dependency for test project

* add new dependency needed for integration tests

* upload net462 code coverage

* upgrade environment for validating linqpad examples

* bump linqpad to latest 5.x release

Co-authored-by: Brendan Forster <brendan@github.com>
2020-02-10 06:33:41 -04:00
Brendan Forster
8cf4d5840e upgrade project tooling to .NET Core 3.1 (#2089) 2020-02-09 12:34:34 -04:00
dependabot-preview[bot]
9b136b1f41 Bump Codecov from 1.7.2 to 1.10.0 in /build (#2088)
* Bump Codecov from 1.7.2 to 1.10.0 in /build

Bumps [Codecov](https://github.com/codecov/codecov-exe) from 1.7.2 to 1.10.0.
- [Release notes](https://github.com/codecov/codecov-exe/releases)
- [Changelog](https://github.com/codecov/codecov-exe/blob/master/GitReleaseManager.yaml)
- [Commits](https://github.com/codecov/codecov-exe/compare/1.7.2...1.10.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* bump version for executable

Co-authored-by: Brendan Forster <brendan@github.com>
2020-02-09 11:37:10 -04:00
dependabot-preview[bot]
26d770b206 Bump Cake.Coverlet from 2.3.4 to 2.4.2 in /build (#2087)
Bumps [Cake.Coverlet](https://github.com/romanx/Cake.Coverlet) from 2.3.4 to 2.4.2.
- [Release notes](https://github.com/romanx/Cake.Coverlet/releases)
- [Commits](https://github.com/romanx/Cake.Coverlet/commits/v2.4.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-07 10:15:15 -04:00
dependabot-preview[bot]
d4b8601172 Bump Cake.Codecov from 0.7.0 to 0.8.0 in /build (#2086)
Bumps [Cake.Codecov](https://github.com/cake-contrib/Cake.Codecov) from 0.7.0 to 0.8.0.
- [Release notes](https://github.com/cake-contrib/Cake.Codecov/releases)
- [Changelog](https://github.com/cake-contrib/Cake.Codecov/blob/develop/GitReleaseManager.yaml)
- [Commits](https://github.com/cake-contrib/Cake.Codecov/compare/0.7.0...0.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-07 10:02:52 -04:00
Brendan Forster
56895ea621 move formatting code to optional flag (#2085)
* move formatting code to flag

* reformat code
2020-02-06 10:48:38 -04:00
Brendan Forster
529020271e we can ignore that this clashes with something it inherits (#2075) 2020-01-28 09:15:24 -04:00
Brendan Forster
43ae40fa00 remove Travis metadata and replace with Actions (#2073) 2020-01-28 08:56:00 -04:00
Brendan Forster
e065c86118 strip CoreOnly usages from codebase as they are no longer needed (#2072) 2020-01-28 08:46:10 -04:00
Brendan Forster
44dc2a9e11 bump framework to re-enable Actions tests for non-Windows environments (#2071) 2020-01-28 08:37:30 -04:00
Brendan Forster
d8e6008b1a upgrade sourcelink tools (#2065) 2020-01-27 12:52:58 -04:00
Brendan Forster
7669dcbc3d no longer testing with net452 2020-01-23 15:35:35 -04:00
Mattias Karlsson
00f60510d6 (build) Update to Cake 0.36.0 (#2062) 2020-01-23 14:15:10 -04:00
dependabot-preview[bot]
6719e870ce Bump Microsoft.NET.Test.Sdk from 16.2.0 to 16.4.0 (#2042) 2020-01-19 21:00:59 -04:00
Mattias Karlsson
f61654a74b (build) Update to Cake 0.35.0, update dependencies and improve dotnet-format execution. (#2039)
* (build) Update to Cake 0.35.0
* Cake.Frosting 0.35.0
* Cake.Coverlet 2.3.4
* Cake.Codecov 0.7.0
* Codecov 1.7.2
* Make dotnet-format execution more robust (fails if not installed globally)

* Fix codecov.exe path
2019-10-30 17:08:10 -03:00
Brendan Forster
ce5ea64428 migrate to dotnet-format tool (#2016)
* migrate to new dotnet-format tool in build script (run on local build)
* reformat code
2019-09-24 11:34:50 -03:00
Stanley Goldman
f70c402d78 Generate code coverage output with coverlet (#1866)
* add support for Codecov reporting on Windows
2019-09-17 09:49:44 -03:00
Mattias Karlsson
01d5c8721c (build) Updated Cake.Frosting to version 0.34.1 (#1978)
* (build) Updated Cake.Frosting to version 0.34.1

* Update GritVersion from 3.6.2 to 5.0.0
2019-08-01 11:10:32 -03:00
Clemens Lieb
5e751a6c38 Enable building on linux without project file changes (#1930)
* Introduce 'NoFramework' switch

This enables building via cake on linux without requiring adjustments on
other platforms, fixes #1745

* Revert hardcoding NoFramework in build.sh

* Skip GitVersion query for NoFramework build

This implies that NoFramework is intended for local use only
Accordingly a warning message has been set up in the Lifetime of the Build

* Rename NoFramework switch to CoreOnly

* Skip tool installation and formatting step for CoreOnly builds

* Default CoreOnly to false on windows and true otherwise

* Add CoreOnly switch to build variable output

* Fix 'native' msbuild on windows for both platforms

'native' msbuild invocations do not automatically set CoreOnly according to the platform
they are running on. As such we set CoreOnly to False on Windows, unless CoreOnly has been
specified already.
2019-01-31 15:36:30 +10:00
Mattias Karlsson
4fb3258911 Update to Cake.Frosting 0.31.0 (#1921) 2018-12-16 13:19:08 +10:00
Mattias Karlsson
4d31536f9a Updated to Cake.Frosting 0.30.0 (#1911) 2018-11-21 22:14:25 +10:00
Ryan Gribble
3b2be81486 Release v0.30 - Where Have You Been All My Life? (#1816)
* run FormatCode build task to fix whitespace/formatting

* correctly flag some GitHub Enterprise tests

* Add Release Notes

* tweak appveyor to not build branch in the repo, when a PR exists already

* travis to only build master branch and PRs

* output actual "dotnet run" command being executed for cake.frosting builds

* update latest Cake.Frosting

* use normal verbosity at the moment due to apparent conflict with "verbose" and latest SDK on appveyor

* try using double dash so dotnet executable doesnt look at --verbosity argument

* travis OSX couldn't download SDK 2.0.3 anymore, lets try the latest 2.1.300
2018-06-18 08:34:14 +10:00
Ryan Gribble
73c36b7a49 update test apps and cake.frosting build to netcoreapp2.0 but keep libraries targeting netstandard1.1 (#1784) 2018-04-16 22:30:26 +10:00
Itai Bar-Haim
5ffc96995f Adding initial support for GitHub Apps. (#1738)
* Added authentication using bearer token.

* Added Installation and AccessToken clients.

* Added new clients to Reactive project

* added support for DateTime serialized as FileTime

* added support for StatusEventPayload

* added support for StatusEventPayload

* Added test for StatusEventPayload and fixed serializer to return that event payload type.

* WIP - added ApplicationClient and related Api Urls.

* Continued implementing Installations support.

* Fixing build (WIP)

* fixed build

* added Account property to Installation. prefer nameof(x) over literal "x".

* fixed according to code review.

* fixed build.

* switched Installation ID from int to long.

* added Permissions and Events properties to Installation.

* added documentation to Application and Installation properties in IGitHubClient.

* wip - added tests to new clients

* wip - fix build

* wip - fixed build.

* added InstallationsClient tests.

* added integration test for InstallationsClient.

* changes requested in code review.

* add Get method for App

* Create GitHubApp response model instead of re-using existing Application response model

* add Get method to observable client

* fixed build (both locally and failed test).

* Fixed documentation and added some missing XML docs.

* added DebuggerDisplay to StatusEventPayload

* updated XML docs and added some missing bits. prefer nameof(x) over literal "x".

* Add xml comments to AccessToken response model and use DateTimeOffset rather than DateTime

* Tidy up XmlComments and make consistent across client and observable client and interfaces

* fixup unit tests to independently verify preview header

* Implement GetInstallation method

* revert commits unrelated to GitHubApps - these can be done on a separate PR if required

* this extra authenticator class doesnt appear to be used anywhere

* undo project file change as it doesnt appear to be necessary

* Revert "Merge remote-tracking branch 'remote/GitHubApps' into GitHubApps"

This reverts commit c53cc110b8d807f62fdfeaa7df19e1532d050007, reversing
changes made to 0c9e413d420a4725738644ea5b13af6ec102d456.

* Revert "Revert "Merge remote-tracking branch 'remote/GitHubApps' into GitHubApps""

This reverts commit 02d52b8adf814b6945c60cb59a907a8cd34b1ce7.

* add XmlDoc comments to response models and flesh out installation permissions

* name AcceptHeaders member consistently

* accidentally lost changes to Credentials.cs

* Enhance Intergation test framework to handle GitHubApp settings and discoer tests appropriately
Get code ready for GitHubJWT nuget package but for now just hardcode a JWT in ENV VAR
Add 1 integration test for each method and ensure they are working!

* fixed compiler warnings.

* Added support for Installation=>Id field that arrives in a Pull Request Event payload.

(See the last field in the sample JSON of https://developer.github.com/v3/activity/events/types/#pullrequestevent)

* Change integration test project to netcoreapp2.0 so we can use GitHubJwt nuget package in integration tests

* First cut at some GitHubApp doco

* update mkdocs config

* Moved the Installation property to ActivityPayload, so it's available in all payloads.

This feature is not undocumented, unfortunately, but valid:
https://platform.github.community/t/determining-which-installation-an-event-came-from/539/11

* Split Installation to Installation and InstallationId, and added a comfort method for gaining its AccessToken.

* fixed InstallationId CreateAccessToken to receive IGitHubAppsClient. added (and fixed) docs.

* reverted object-oriented style comfort method and it's docs.

* update all test projects to netcoreapp2.0

* tweak build configs to use 2.0.3 SDK

* also need to update cake frosting build to netcoreapp2.0

* tweak docs some more

* fix convention test failures

* test projects still had some old runtime parts in them!

* travis osx image needs to be at least 10.12 for .NET Core 2.0

* shell script might need the same argument tweak for cake

* more doc tweaks

* Make sure compiler warning output isnt somehow causing Linux and OSX builds to fail

* moar logging for linux/OSX builds

* stop sourcelink on linux/OSX builds to see if that is the problem

* set verbosity to detailed for the dotnet build step

* try new sourcelink and list out remotes

* is travis being weird with git clone?

* SourceLink may be defaulting to true on CI server so explicitly set it as false rather than omitting it

* detailed is a bit too verbose for travis, try normal

* turn sourcelink back on for Linux/OSX

* fix compiler warning

* Try SourceLink.Create.CommandLine instead of SourceLink.Create.GitHub

* CliToolReferences did not update to latest versions

* remove debug origin info

* turn off msbuild output

* go back to SourceLink.Create.GitHub!

* time diff between dev PC and API causes issues if specifying a full 600 second token

* handle extra date format that Installation end point now returns

* field needs to be protected in order to be deserialized

* provide even more buffer for client vs server clock drift

* Update to latest GitHubJwt reference

* go back to SDK 1 since SDK 2 is having sporadic travisCI faliures in TestSourceLink build step

* get appveyor working

* update sourcelink back to latest, and use SDK 1.04 (runtime 1.0.5)
2018-04-16 20:42:23 +10:00
Ryan Gribble
366ac261bf Fix assembly versioning/properties and handle platform exception (#1660)
* Use assembly version instead of hard-coded ones

Builds happening on AppVeyor specify the assembly version with `dotnet build /p:Version=<gitversion>`

* Set default version for dev time

This is to avoid that the default 1.0.0 version be assigned to the assemblies

* Move various package/assembly properties from AssemblyInfo into csproj files so dotnet build can set them all

* Get rid of SolutionInfo and move assembly version function into Connection class

* Rework FormatUserAgent to use InformationalVersion and guard against exceptions determining platform OS/arch (fixes #1617)

* Update assembly descriptions

* Reword dotnetcore to .NET Core

* Attempted workaround for package version dependency issue by specifying version on dotnet restore
see https://github.com/NuGet/Home/issues/4337
2017-09-03 11:50:20 +10:00
Ryan Gribble
7114bcb41e General updates (#1653)
* Update README and shipping-releases as they are a bit out of date

* Update year/copyright info

* Update cake.frosting to latest for newest dotnet tooling support, and adjust builds for new configuration parameters

* update xunit packages so codelens works for nested test classes (VS2017 15.3 update is also required)

* Fixup VS version and remove win debugging tools
2017-08-16 21:33:03 +10:00
Mickaël Derriey
4869fd5423 Fix broken JSON deserialization in .NET 4.5 (#1647)
* Cross target Octokit.Tests against netcoreapp1.0 and net452

* Add net45-specific references

This fixes a build error after adding the net452 target:
error CS0656: Missing compiler required member 'Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create'

* Add SimpleJson conditional compilation symbols for net45

* Disable AppDomain when running tests

Thanks to Dominick and Patrik: https://twitter.com/leastprivilege/status/893376624233762816

* Use nameof operator instead of magic strings

* Remove conditional compilation symbols as they are not used in the conventions tests project

* Enable cross targetting in the conventions tests project

* Run tests against netcoreapp1.0 only when not on Windows

* Going too fast bites you
2017-08-07 10:21:58 +10:00
Ryan Gribble
ffdf688e19 Final tidyups for dotnetcore (#1600)
* Dont hardcode linksources for linux builds

* split ConventionTests into their own build task, since this is how it was in FAKE previously

* update contributing doc after change to CAKE

* minor doc updates

* fix bash linksources argument

* remove all these old packages files

* use forward slashes when referring to bash script

* use Target parameter name for the PowerShell build script

* be consistent when referring to PowerShell build script

* Be even moar consistent
2017-05-04 20:32:22 +10:00
Ryan Gribble
11bbb2dbee missed solution file update 2017-04-11 22:46:54 +10:00
Ryan Gribble
96df1a7d6c Add sourcelink support (#1574)
* add sourcelink support

* Update sourcelink (2.0.2 -> 2.1.0)

* Add parameter to enable source linking

* tidy up the arguments with an extension method allowing an argument to be conditionally appended

* Add an explicit "test sourcelink" build task and remove the MSBuild one, so we can get some build script output without needing the whole build to be in verbose logging

* run sourcelink test against the NuGet packages
2017-04-03 10:49:57 +10:00
Ryan Gribble
ac49d2ad09 Migrate dotnetcore to vs2017 tooling (#1567)
* convert to VS2017

* rework cake.frosting build to latest cake vs2017 "template" example

* fix clean task and version suffix

* add arg to DotNetCorePack so it uses the correct version

* fix appveyor

* is there an easier way to test appveyor?

* ok travis, let's do this

* after reading the travis repo, this seems to be the version we want for vs201/csproj tool support

* msbuild complaining about arguments - we can use defaults anyhow so remove $@ from build.sh script

* add workaround for msbuild/travis, as mentioned on aspnet Mvc repo

* cmon travis

* perhaps tee isnt needed afterall

* travis permission denied when trying to install tools in build script... i feel dirty but need to see if sudo will fix it!

* could it be folder permissions of /build ?

* Try 777 for NuGet.exe permissions rather than 644

* remove windows platform restriction on GitVersion call

* Add a wrapper script for GitVersion on non windows

* fix wrapper script name

* add debug

* let's see if we are running the script at all!

* run mono gitversion direclty from travis.yml, for science

* see if we can run bin/sh and prepend an argument to our shell script

* remove echos from wrapper script

* Ensure full git repo include more than 50 commits and all tags are fetched, as GitVersion was failing on TravisCI

* only build netstandard framework on non windows

* revert overriding the target framework when building the solution

* Unix being case-sensitive, adjust app.config file name in csproj files

* set FrameworkPathOverride to point to different folders on macOS and Linux

* Remove NuGet.exe from the repo.

On Windows, it will be installed by the Frosting bootstrapper script.
On Unix/macOS, cake has smarts to look for mono- and Linux-specific executables

* tidy up GitVersion logic into a GitVersionRunner class

* apply workaround for osx dotnet restore "too many open files" errors

* update test project references to latest official versions

* doesnt seem to be a reason for overriding the implicit reference

* remove extra whitespace and unused namespace
2017-03-30 15:37:49 +10:00
Mickaël Derriey
938149f78f Add a code formatting task to CAKE (#1550)
* add FormatCode build task

* add log message to indicate we generate temp .csproj files to run the code formatter
2017-01-29 07:43:28 +10:00
Mickaël Derriey
3369a4aea1 Add a build task to validate LINQPad samples (#1551)
* add a build task to run LINQPad samples

* make modifications to the validation of LINQPad samples

* rename the CAKE task to its original name ValidateLINQPadSamples
* rename the LINQPad samples file so they get executed in ordinal order (1, 2, ..., 10 and not 1, 10, 2, ...)

* remove openssl linking in TravisCI when on macOS
2017-01-28 16:29:07 +10:00
Mickaël Derriey
13d5dab516 Port to .NET Core (#1503)
Port to .NET Core
2017-01-21 14:42:02 +10:00