Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(172)

Side by Side Diff: mojo/devtools/common/docs/mojo_run.md

Issue 1581773005: mojo_run: infer --origin from `MOJO_VERSION` file if present. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Add a verbose printout. Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « mojo/devtools/common/devtoolslib/shell_config.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # mojo_run 1 # mojo_run
2 2
3 `mojo_run` allows you to run a Mojo shell either on the host, or on an attached 3 `mojo_run` allows you to run a Mojo shell either on the host, or on an attached
4 Android device. 4 Android device.
5 5
6 ```sh 6 ```sh
7 mojo_run APP_URL # Run on the host. 7 mojo_run APP_URL # Run on the host.
8 mojo_run APP_URL --android # Run on Android device. 8 mojo_run APP_URL --android # Run on Android device.
9 mojo_run "APP_URL APP_ARGUMENTS" # Run an app with startup arguments 9 mojo_run "APP_URL APP_ARGUMENTS" # Run an app with startup arguments
10 ``` 10 ```
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 ```sh 62 ```sh
63 mojo_run APP_URL 63 mojo_run APP_URL
64 ``` 64 ```
65 65
66 and the following in another: 66 and the following in another:
67 67
68 ```sh 68 ```sh
69 mkdir ~/another_home 69 mkdir ~/another_home
70 HOME=~/another_home mojo_run APP_URL --reuse-servers 70 HOME=~/another_home mojo_run APP_URL --reuse-servers
71 ``` 71 ```
72
73 ## Setting default mojo origin
74
75 When run outside of the `domokit/mojo` repository, `mojo_run` needs `--origin`
76 parameter to indicate where binaries of the core mojo services come from. If a
77 `MOJO_VERSION` file is present among ancestors of `mojo_run` and `--origin`
78 parameter is not set, origin will point to Google Storage location storing
79 binaries of core mojo services built at the git revision indicated in
80 `MOJO_VERSION`.
OLDNEW
« no previous file with comments | « mojo/devtools/common/devtoolslib/shell_config.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698