-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add --ssh examle into README.md and make help description better
- Loading branch information
Showing
2 changed files
with
26 additions
and
16 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,25 +6,35 @@ Crossbuilder aims at making cross compiling code and deploying projects to devic | |
Initially developed in: https://launchpad.net/crossbuilder | ||
|
||
To use it, clone the repository and just run it from there: | ||
|
||
cd crossbuilder | ||
./crossbuilder help | ||
```bash | ||
cd crossbuilder | ||
./crossbuilder help | ||
``` | ||
|
||
To build and deploy your project on the device connected to your computer all in one go: | ||
|
||
cd yourproject/ | ||
crossbuilder | ||
```bash | ||
cd yourproject/ | ||
crossbuilder | ||
``` | ||
|
||
Change a line of code and type crossbuilder again to re-build and re-deploy. | ||
|
||
To go even faster, bypass building Debian packages with: | ||
|
||
crossbuilder --no-deb | ||
```bash | ||
crossbuilder --no-deb | ||
``` | ||
|
||
For an even faster LXD setup, resetup LXD using ZFS: | ||
|
||
crossbuilder setup-lxd | ||
```bash | ||
crossbuilder setup-lxd | ||
``` | ||
|
||
To enter the LXD container used to build: | ||
|
||
crossbuilder shell | ||
```bash | ||
crossbuilder shell | ||
``` | ||
|
||
To use ssh instead of adb to deploy, use the ```--ssh``` option. If your device has ssh enabled on address let's say 192.168.0.5, use: | ||
```bash | ||
crossbuilder [email protected] | ||
``` |
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