Name: srclib-csharp
Owner: Sourcegraph
Description: placeholder for a srclib C# toolchain
Created: 2015-03-20 21:06:34.0
Updated: 2018-01-11 20:27:10.0
Pushed: 2016-06-09 13:20:08.0
Homepage: null
Size: 228
Language: C#
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
srclib-csharp requires:
Environmanet installation is described here: http://docs.asp.net/en/latest/getting-started/installing-on-linux.html
Briefly, you need to install dnvm
curl -sSL https://raw.githubusercontent.com/aspnet/Home/dev/dnvminstall.sh | DNX_BRANCH=dev sh && source ~/.dnx/dnvm/dnvm.sh
DNX prerequisites, if necessary
sudo apt-get install libunwind8 gettext libssl-dev libcurl4-openssl-dev zlib1g libicu-dev uuid-dev
and .NET Core
dnvm upgrade -r coreclr
With DNX framework there is no explicit building, so just add a new toolchain to srclib by creating a symlink that points to srclib directory
ln -s . $HOME/.srclib/sourcegraph.com/sourcegraph/srclib-csharp
You should also load project dependencies by running
dnu restore Srclib.Nuget/project.json
or using
make dep
which does exactly the same
Run git submodule update --init
the first time to fetch the submodule test
cases in testdata/case
.
srclib test
- run tests
srclib test --gen
- regenerate new test data