mirror of
https://github.com/ppy/osu.git
synced 2025-01-08 05:52:54 +08:00
Update readme
This commit is contained in:
parent
628b3e1119
commit
bf57f80d6e
12
README.md
12
README.md
@ -31,18 +31,14 @@ If your platform is not listed above, there is still a chance you can manually b
|
|||||||
Clone the repository **including submodules**:
|
Clone the repository **including submodules**:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
git clone --recurse-submodules https://github.com/ppy/osu
|
git clone https://github.com/ppy/osu
|
||||||
cd osu
|
cd osu
|
||||||
```
|
```
|
||||||
|
|
||||||
> If you forgot the `--recurse-submodules` option, run this command inside the `osu` directory:
|
|
||||||
>
|
|
||||||
> `git submodule update --init --recursive`
|
|
||||||
|
|
||||||
To update the source code to the latest commit, run the following command inside the `osu` directory:
|
To update the source code to the latest commit, run the following command inside the `osu` directory:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
git pull --recurse-submodules
|
git pull
|
||||||
```
|
```
|
||||||
|
|
||||||
## Building
|
## Building
|
||||||
@ -73,6 +69,10 @@ For example, you can run osu! with the following command:
|
|||||||
LD_LIBRARY_PATH="$(pwd)/osu.Desktop/bin/Debug/netcoreapp2.2" dotnet run --project osu.Desktop
|
LD_LIBRARY_PATH="$(pwd)/osu.Desktop/bin/Debug/netcoreapp2.2" dotnet run --project osu.Desktop
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Testing with resource/framework modifications
|
||||||
|
|
||||||
|
Sometimes it may be necessary to cross-test changes in [osu-resources](https://github.com/ppy/osu-resources) or osu-framework(https://github.com/ppy/osu-framework). This can be achieved by running some commands as documented on the [osu-resources](https://github.com/ppy/osu-resources/wiki/Testing-local-resources-checkout-with-other-projects) and [osu-framework](https://github.com/ppy/osu-framework/wiki/Testing-local-framework-checkout-with-other-projects) wiki pages.
|
||||||
|
|
||||||
## Code analysis
|
## Code analysis
|
||||||
|
|
||||||
Code analysis can be run with `powershell ./build.ps1` or `build.sh`. This is currently only supported under windows due to [resharper cli shortcomings](https://youtrack.jetbrains.com/issue/RSRP-410004). Alternative, you can install resharper or use rider to get inline support in your IDE of choice.
|
Code analysis can be run with `powershell ./build.ps1` or `build.sh`. This is currently only supported under windows due to [resharper cli shortcomings](https://youtrack.jetbrains.com/issue/RSRP-410004). Alternative, you can install resharper or use rider to get inline support in your IDE of choice.
|
||||||
|
Loading…
Reference in New Issue
Block a user