Skip to content

Commit

Permalink
Reverting changes that were already there
Browse files Browse the repository at this point in the history
  • Loading branch information
JJ committed Mar 13, 2018
1 parent cc2e8a7 commit 4eaa4b3
Showing 1 changed file with 4 additions and 32 deletions.
36 changes: 4 additions & 32 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,40 +9,12 @@ This project adheres to the [Contributor Covenant Code of Conduct](http://contri
The majority of contributions won't need to touch any Ruby code at
all.

## Installation how to

You might want to get Linguist running in order to test locally whatever
changes you might be doing to it. You will need to install some
prerrequisite libraries
first. [Install CMake](https://cmake.org/install/) which is required to install `rugged`.

Then

bundle install

to install all dependencies and finally

rake samples

to generate `samples.json` file, which is needed for checking out
samples. Then you can simply run

bundle exec linguist --breakdown

to check the languages on the repository itself, or

bundle exec git-linguist --commit=362d300cb021f11fe1c66f69b7f1bb0c246f01b0 breakdown

to get a breakdown in JSON format for an specific commit.

You can try it too in some other directory this way:

bundle exec linguist ../../CPAN/Algorithm-Evolutionary


## Getting started

Before you can start contributing to Linguist, you'll need to set up your environment first. Clone the repo and run `script/bootstrap` to install its dependencies.
Before you can start contributing to Linguist, you'll need to set up
your environment first. [Install CMake](https://cmake.org/install/)
which is required to install `rugged` and then clone the repo and run
`script/bootstrap` to install its dependencies.

git clone https://github.com/github/linguist.git
cd linguist/
Expand Down

0 comments on commit 4eaa4b3

Please sign in to comment.