File tree 4 files changed +6
-6
lines changed 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -18,11 +18,11 @@ jobs:
18
18
RUST_BACKTRACE=full cargo run --target-dir /tmp --manifest-path=rust/Cargo.toml rustc -d /tmp/rustc.js
19
19
RUST_BACKTRACE=full cargo run --target-dir /tmp --manifest-path=rust/Cargo.toml targets -d /tmp/targets.js
20
20
git clone --depth 1 https://github.com/jplatte/caniuse.rs.git /tmp/caniuse
21
- RUST_BACKTRACE=full cargo run --target-dir /tmp --manifest-path=rust/Cargo.toml caniuse -r /tmp/caniuse -d /tmp/caniuse.js
21
+ RUST_BACKTRACE=full cargo run --target-dir /tmp --manifest-path=rust/Cargo.toml caniuse -p /tmp/caniuse -d /tmp/caniuse.js
22
22
git clone --depth 1 https://github.com/nrc/rfc-index.git /tmp/rfc-index
23
- RUST_BACKTRACE=full cargo run --target-dir /tmp --manifest-path=rust/Cargo.toml rfcs -r /tmp/rfc-index -d /tmp/rfcs.js
23
+ RUST_BACKTRACE=full cargo run --target-dir /tmp --manifest-path=rust/Cargo.toml rfcs -p /tmp/rfc-index -d /tmp/rfcs.js
24
24
wget https://static.crates.io/db-dump.tar.gz -O /tmp/db-dump.tar.gz
25
- RUST_BACKTRACE=full cargo run --target-dir /tmp --manifest-path=rust/Cargo.toml --release crates -r /tmp/db-dump.tar.gz -d /tmp/crates.js
25
+ RUST_BACKTRACE=full cargo run --target-dir /tmp --manifest-path=rust/Cargo.toml --release crates -p /tmp/db-dump.tar.gz -d /tmp/crates.js
26
26
mv /tmp/*.js lib/index
27
27
- name : Build website
28
28
run : |
Original file line number Diff line number Diff line change 1
1
[package ]
2
- name = " rust-search-extension "
2
+ name = " build-index "
3
3
version = " 0.1.0"
4
4
authors = [
" Folyd <[email protected] >" ]
5
5
edition = " 2021"
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ const INDEX_PATH: &str = "../lib/index/caniuse.js";
16
16
#[ argh( subcommand, name = "caniuse" ) ]
17
17
pub struct CaniuseTask {
18
18
/// caniuse.rs repository path
19
- #[ argh( option, short = 'r ' ) ]
19
+ #[ argh( option, short = 'p ' ) ]
20
20
repo_path : String ,
21
21
/// destination path
22
22
#[ argh( option, short = 'd' , default = "INDEX_PATH.to_string()" ) ]
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ const INDEX_PATH: &str = "../lib/index/rfcs.js";
12
12
#[ argh( subcommand, name = "rfcs" ) ]
13
13
pub struct RfcsTask {
14
14
/// rfc-index repository path
15
- #[ argh( option, short = 'r ' ) ]
15
+ #[ argh( option, short = 'p ' ) ]
16
16
repo_path : String ,
17
17
/// destination path
18
18
#[ argh( option, short = 'd' , default = "INDEX_PATH.to_string()" ) ]
You can’t perform that action at this time.
0 commit comments