-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update crossbow documentation (#146)
* Fix install docs * Fix configuration * Fix setx Co-authored-by: David Ackerman <[email protected]>
- Loading branch information
Showing
7 changed files
with
87 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,28 @@ | ||
# Run Command | ||
|
||
TODO: Write documentation. | ||
Crossbow default run process requires installed Gradle on your PC. | ||
|
||
To create a project go to the example you want to build and use the command below. The command belongs to macroquad engine examples building: | ||
|
||
```sh | ||
crossbundle run android | ||
|
||
# To specify custom export gradle directory | ||
crossbundle run android --export-path=./gen/ | ||
``` | ||
|
||
By default run directory is `target/android/<project_name>/gradle`. But you can specify your own build directory via `--export-path=<OUT_PATH>` flag. | ||
|
||
If you don't want to use gradle you can specify it in strategy native-apk: | ||
|
||
```sh | ||
crossbundle run android -s=native-apk | ||
# or do you need AAB: | ||
crossbundle run android -s=native-aab | ||
``` | ||
|
||
To find out available commands specify the -h flag. | ||
|
||
```sh | ||
crossbundle run android -h | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,7 +32,7 @@ authors = ["Example <[email protected]>"] | |
edition = "2021" | ||
|
||
[dependencies] | ||
crossbundle = "*" | ||
crossbow = "*" | ||
|
||
[package.metadata] | ||
app_name = "My Project" | ||
|
@@ -54,8 +54,6 @@ Let's build and run our first `crossbundle` application. Android commands below | |
```sh | ||
# cd project-name | ||
crossbundle run android | ||
# or (if your project uses macroquad) | ||
crossbundle run android | ||
# or | ||
crossbundle run ios | ||
``` | ||
|