Files
octokit.net/build.sh
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

11 lines
284 B
Bash
Executable File

#!/bin/bash
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
# This is due to: https://github.com/NuGet/Home/issues/2163#issue-135917905
echo "current ulimit is: `ulimit -n`..."
ulimit -n 1024
echo "new limit: `ulimit -n`"
fi
cd build
dotnet restore
dotnet run -- --linkSources=true