Skip to content

Commit b28f15d

Browse files
authored
Merge pull request #40 from tdgroot/feature/build_files_in_stdout
Show additional urls for build files in stdout
2 parents a8a4589 + 698067c commit b28f15d

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

readme.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ presets:
6262
6363
## Step 3 - create the `bundle-config.yml` or `json` file as noted above.
6464

65-
This is what determines the parent-child relationship. This file is
65+
This is what determines the parent-child relationship. This file is
6666
read from disk every time the `/build.json` or `/loaders.js` endpoint is
6767
requested - which means you can navigate around the site and continue
6868
to tweak these relationships to get the optimal result.
@@ -126,16 +126,16 @@ At any point, you can access the following endpoints to retrieve the generated j
126126
127127
|Path|Purpose|
128128
|---|---|
129-
|`/__bs/build.json`|Generates the configuration needed for the Optimzer|
129+
|`/__bs/build.json`|Generates the configuration needed for the Optimizer|
130130
|`/__bs/loaders.js`|Generates the JavaScript needed to load additional bundles|
131131
|`/__bs/seed.json`|Generates a dump of the current state so that you can pick up where you left off|
132132
133133
---
134134
135135
## Using `build.json`
136136
137-
You'll first need to run `static-content:deploy` to ensure all assets are accessible to the optimizer -
138-
once you've done that, you'll need to `mv` the entire locale folder and then run the r_js tool using the
137+
You'll first need to run `static-content:deploy` to ensure all assets are accessible to the optimizer -
138+
once you've done that, you'll need to `mv` the entire locale folder and then run the r_js tool using the
139139
build.json
140140
141141
```

src/main.rs

+3
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ fn main() {
2929
match ProgramOptions::from_args(&mut std::env::args_os()).and_then(system::create) {
3030
Ok((sys, url)) => {
3131
println!("{}", url);
32+
println!("{}/__bs/build.json\t(Generates the configuration needed for the Optimizer)", url);
33+
println!("{}/__bs/loaders.js\t(Generates the JavaScript needed to load additional bundles)", url);
34+
println!("{}/__bs/seed.json\t(Generates a dump of the current state so that you can pick up where you left off)", url);
3235
let _ = sys.run();
3336
}
3437
Err(e) => {

0 commit comments

Comments
 (0)