readme: Simplify submodule install process. (#81)

* readme: Simplify submodule install process.

Not only the linux version did not include any instructions on getting submodules (thus, attempting to follow the guide line-by-line would cause in a unavoiable cmake configure halt before even building), But the usage of `submodule init/update` in it's own can be simplified by using the `--recursive` flag directly in the clone instead.

* Only target "submodules" folder for cloning
This commit is contained in:
betty "reenii" bessa
2022-06-06 19:07:59 +00:00
committed by GitHub
parent 4ec5c1dfcc
commit abc448eca0

View File

@@ -59,18 +59,17 @@ the result of fundamental issues with Discord's thread implementation.
#### Mac: #### Mac:
1. `git clone https://github.com/uowuo/abaddon && cd abaddon` 1. `git clone https://github.com/uowuo/abaddon --recurse-submodules="subprojects" && cd abaddon`
2. `brew install gtkmm3 nlohmann-json` 2. `brew install gtkmm3 nlohmann-json`
3. `git submodule update --init subprojects` 3. `mkdir build && cd build`
4. `mkdir build && cd build` 4. `cmake ..`
5. `cmake ..` 5. `make`
6. `make`
#### Linux: #### Linux:
1. Install dependencies: `libgtkmm-3.0-dev`, `libcurl4-gnutls-dev`, 1. Install dependencies: `libgtkmm-3.0-dev`, `libcurl4-gnutls-dev`,
and [nlohmann-json](https://github.com/nlohmann/json) and [nlohmann-json](https://github.com/nlohmann/json)
2. `git clone https://github.com/uowuo/abaddon && cd abaddon` 2. `git clone https://github.com/uowuo/abaddon --recurse-submodules="subprojects" && cd abaddon`
3. `mkdir build && cd build` 3. `mkdir build && cd build`
4. `cmake ..` 4. `cmake ..`
5. `make` 5. `make`