1
0
mirror of https://github.com/mobile-shell/mosh.git synced 2025-12-16 12:00:15 +01:00

Add developer instructions to readme (#1252)

* Add developer instructions to readme

* Split dependencies by platform

* Remove unneeded packages
This commit is contained in:
ahedberg
2023-01-19 20:11:30 -05:00
committed by GitHub
parent c516fb4256
commit c16108f017

View File

@@ -147,6 +147,31 @@ mosh-client packages to allow mosh-server usage without Perl.
Notes for developers
--------------------
To start contributing to Mosh, install the following dependencies:
Debian, Windows Subsystem for Linux:
```
$ sudo apt install -y build-essential protobuf-compiler \
libprotobuf-dev pkg-config libutempter-dev zlib1g-dev libncurses5-dev \
libssl-dev bash-completion tmux less
```
MacOS:
```
$ brew install protobuf automake
```
Once you have forked the repository, run the following to build and test Mosh:
```
$ ./autogen.sh
$ ./configure
$ make
$ make check
```
Mosh supports producing code coverage reports by tests, but this feature is
disabled by default. To enable it, make sure `lcov` is installed on your
system. Then, configure and run tests: