Skip to content

Commit f29320b

Browse files
committed
Adding syntax highlighting to README
1 parent b798a28 commit f29320b

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

README.md

+13-13
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ should add EDM4U as a
3030
[package dependency](https://docs.unity3d.com/2019.3/Documentation/Manual/upm-dependencies.html)
3131
in your package manifest (`package.json`):
3232

33-
```
33+
```json
3434
{
3535
"dependencies": {
3636
"com.google.external-dependency-manager": "1.2.178"
@@ -68,7 +68,7 @@ Check out [troubleshooting](troubleshooting-faq.md) if you need help.
6868
EDM4U is available on
6969
[OpenUPM](https://openupm.com/packages/com.google.external-dependency-manager/):
7070

71-
```
71+
```shell
7272
openupm add com.google.external-dependency-manager
7373
```
7474

@@ -118,7 +118,7 @@ For example, to add the Google Play Games library
118118
(`com.google.android.gms:play-services-games` package) at version `9.8.0` to the
119119
set of a plugin's Android dependencies:
120120

121-
```
121+
```xml
122122
<dependencies>
123123
<androidPackages>
124124
<androidPackage spec="com.google.android.gms:play-services-games:9.8.0">
@@ -147,7 +147,7 @@ package if it's not found. If your Android dependency is located on Maven
147147
central it's possible to specify the package simply using the `androidPackage`
148148
element:
149149

150-
```
150+
```xml
151151
<dependencies>
152152
<androidPackages>
153153
<androidPackage spec="com.google.api-client:google-api-client-android:1.22.0" />
@@ -305,7 +305,7 @@ Dependencies for iOS are added by referring to CocoaPods.
305305

306306
For example, to add the AdMob pod, version 7.0 or greater with bitcode enabled:
307307

308-
```
308+
```xml
309309
<dependencies>
310310
<iosPods>
311311
<iosPod name="Google-Mobile-Ads-SDK" version="~> 7.0" bitcodeEnabled="true"
@@ -332,7 +332,7 @@ Manager > iOS Resolver > Settings` menu.
332332

333333
In order to modify the generated Podfile you can create a script like this:
334334

335-
```
335+
```csharp
336336
using System.IO;
337337

338338
public class PostProcessIOS : MonoBehaviour
@@ -366,7 +366,7 @@ easy for plugin users to manage PM registry servers.
366366

367367
For example, to add a registry for plugins in the scope `com.coolstuff`:
368368

369-
```
369+
```xml
370370
<registries>
371371
<registry name="Cool Stuff"
372372
url="https://unityregistry.coolstuff.com"
@@ -765,7 +765,7 @@ For example, the following command will import the
765765
`MyPluginProject` and export the entire Assets folder to
766766
`MyPlugin.unitypackage`:
767767

768-
```
768+
```shell
769769
Unity -gvh_disable \
770770
-batchmode \
771771
-importPackage external-dependency-manager-1.2.46.0.unitypackage \
@@ -792,14 +792,14 @@ To build this plugin from source you need the following tools installed: * Unity
792792

793793
You can build the plugin by running the following from your shell (Linux / OSX):
794794

795-
```
795+
```shell
796796
./gradlew build
797797

798798
```
799799

800800
or Windows:
801801

802-
```
802+
```shell
803803
./gradlew.bat build
804804
```
805805

@@ -810,13 +810,13 @@ If Java 11 is not your default Java command, add
810810

811811
You can run the tests by running the following from your shell (Linux / OSX):
812812

813-
```
813+
```shell
814814
./gradlew test
815815
```
816816

817817
or Windows:
818818

819-
```
819+
```shell
820820
./gradlew.bat test
821821
```
822822

@@ -862,7 +862,7 @@ For instance, by running the following command, it only runs the Unity
862862
integration tests that does not requires GPU, but exclude tests for Android
863863
Resolver module and iOS Resolver module.
864864

865-
```
865+
```shell
866866
./gradlew test \
867867
-PINTERACTIVE_MODE_TESTS_ENABLED=0 \
868868
-PINCLUDE_TEST_TYPES="Integration" \

0 commit comments

Comments
 (0)