Skip to content

Commit dcb33b4

Browse files
committed
Address review feedback
Signed-off-by: Alex Saveau <[email protected]>
1 parent 0a1a08f commit dcb33b4

File tree

4 files changed

+4
-221
lines changed

4 files changed

+4
-221
lines changed

config.yaml

Lines changed: 0 additions & 219 deletions
This file was deleted.

prepare-pages.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,7 @@ cargo test --verbose --all
1111

1212
# Generate the pages
1313
mkdir -p output
14+
cargo run --release --bin=rustup-available-packages-web -- print_config -c config.yaml
15+
cat config.yaml
1416
cargo run --release --bin=rustup-available-packages-web -- render -c config.yaml
1517
ln -fs x86_64-unknown-linux-gnu.html output/index.html
File renamed without changes.

web/src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ use serde::Serialize;
1515
use structopt::StructOpt;
1616
use tiers_table::TiersTable;
1717

18+
mod config_gen;
1819
mod opts;
19-
mod tear_ducts;
2020
mod tiers_table;
2121

2222
#[derive(StructOpt)]
@@ -201,7 +201,7 @@ fn main() -> anyhow::Result<()> {
201201
# $ cargo r -p rustup-available-packages-web -- print_config -c config.yaml
202202
";
203203

204-
let config = tear_ducts::gen_config()?;
204+
let config = config_gen::gen_config()?;
205205
if let Some(path) = config_path {
206206
if let Some(parent) = path.parent() {
207207
create_dir_all(parent)?;

0 commit comments

Comments
 (0)