Skip to content

Commit 835068b

Browse files
committed
Update contributing command with convert
Bug: n/a Test: n/a Change-Id: I6d82d41d9aa4528acfe584c8692f95bb3b55b3e4
1 parent 486fb69 commit 835068b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ To run the tool from the root folder, you can use `convert.sh`.
6767
Editing a recipe in Android Studio requires converting a recipe into `workingcopy` mode:
6868

6969
```
70-
./convert.sh --mode workingcopy --source recipes/<name> --destination workingcopies/
70+
./convert.sh convert --mode workingcopy --source recipes/<name> --destination workingcopies/
7171
```
7272

7373
This will convert the recipe into a new folder `workingcopies/<name>`. You can now open
@@ -130,7 +130,7 @@ Once the recipe is updated and validated, it can be converted back to its `sourc
130130

131131

132132
```
133-
./convert.sh --mode source --source workingcopies/<name> --destination recipes/ --overwrite
133+
./convert.sh convert --mode source --source workingcopies/<name> --destination recipes/ --overwrite
134134
```
135135

136136
The `--overwrite` option is necessary unless you delete `recipes/<name>` first. This will
@@ -145,7 +145,7 @@ To get started adding a new recipe, we have 2 different templates:
145145

146146
First, create a working copy:
147147
```
148-
./convert.sh --mode workingcopy --source templates/TemplateRecipe --destination workingcopies/
148+
./convert.sh convert --mode workingcopy --source templates/TemplateRecipe --destination workingcopies/
149149
```
150150

151151
Then, write your recipe, generally starting with the plugin class (`CustomPlugin.kt` or `CustomSettings.kt`).

0 commit comments

Comments
 (0)