Skip to content
Permalink
Browse files

CONTRIBUTING.md: use ShellSession code fence

ShellSession gives us marginally better highlighting, comparing

    $ foo
    $ bar

with:

    ```ShellSession
    $ foo
    $ bar
    ```

So, where appropriate, let's convert the former into the later.
  • Loading branch information...
ttaylorr committed Oct 17, 2018
1 parent fedcef6 commit 5f79dda4edf16ba3ca377820b59f4ba5f4b4286f
Showing with 13 additions and 7 deletions.
  1. +13 −7 CONTRIBUTING.md
@@ -74,31 +74,37 @@ Git LFS depends on having a working Go 1.11.0+ environment.

On RHEL etc. e.g. Red Hat Enterprise Linux Server release 7.2 (Maipo), you will neet the minimum packages installed to build Git LFS:

```
```ShellSession
$ sudo yum install gcc
$ sudo yum install perl-Digest-SHA
```

In order to run the RPM build `rpm/build_rpms.bsh` you will also need to:

`$ sudo yum install ruby-devel`
```ShellSession
$ sudo yum install ruby-devel
```

(note on an AWS instance you may first need to `sudo yum-config-manager --enable rhui-REGION-rhel-server-optional`)

### Building Git LFS

The easiest way to download Git LFS for making changes is `git clone`:

$ git clone git@github.com:git-lfs/git-lfs.git
$ cd git-lfs
```ShellSession
$ git clone git@github.com:git-lfs/git-lfs.git
$ cd git-lfs
```

From here, run `make` to build Git LFS in the `./bin` directory. Before
submitting changes, be sure to run the Go tests and the shell integration
tests:

$ make test # runs just the Go tests
$ cd t && make test # runs the shell tests in ./test
$ script/cibuild # runs everything, with verbose debug output
```ShellSession
$ make test # runs just the Go tests
$ cd t && make test # runs the shell tests in ./test
$ script/cibuild # runs everything, with verbose debug output
```

## Updating 3rd party packages

0 comments on commit 5f79dda

Please sign in to comment.
You can’t perform that action at this time.