sourcegraph/srclib-csharp

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

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Requirements

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
Building

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

Testing

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


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.