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

Side by Side Diff: mojoconfig

Issue 1259793008: Support dev servers defined in a mojoconfig file. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Address Ben's comments. Created 5 years, 4 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
OLDNEW
(Empty)
1 # This is a configuration file for devtools (`mojo_run`, `mojo_test) running
2 # within a Mojo checkout.
3
4 # The content has to parse to a Python dictionary literal. Strings of the form
5 # '@{ABC}' are aliases that will be substituted for their values before
6 # evaluation:
7 # '@{BUILD_DIR}': path to the output directory
8
9 {
10 # Each dev server will be configured as specified and mapped for the
11 # indicated host using --map-origin.
12 'dev_servers': [
13 {
14 'host': 'https://core.mojoapps.io/',
15 # First matching prefix will apply. Within the directiories specified for
16 # a prefix, first location that contains the requested path will apply.
17 'mappings': [
18 ('packages/', ['@{BUILD_DIR}/gen/dart-pkg/packages']),
19 ('', ['@{BUILD_DIR}']),
20 ],
21 },
22 ],
23 }
OLDNEW
« mojo/devtools/common/devtoolslib/shell_config.py ('K') | « mojo/devtools/common/mojo_test ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698