Skip to content

Commit cc68efd

Browse files
committed
chore: rm sitemap bin
1 parent 6704d16 commit cc68efd

File tree

4 files changed

+3
-32
lines changed

4 files changed

+3
-32
lines changed

Cargo.toml

-9
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,6 @@
22
name = "rust_lang_es"
33
version = "0.1.0"
44
edition = "2021"
5-
default-run = "rust_lang_es"
6-
7-
[[bin]]
8-
name = "rust_lang_es"
9-
path = "src/main.rs"
10-
11-
[[bin]]
12-
name = "sitemap"
13-
path = "src/bin/sitemap.rs"
145

156
[dependencies]
167
leptos = { version = "0.5.0-rc2", features = ["csr", "nightly"] }

Trunk.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ ignore = [".git", "style", "extras", "gen_assets", "src/extras", "build.rs"]
44
[[hooks]]
55
# Just fetching the generated sitemap from the external repo
66
stage = "pre_build"
7-
command = "cargo"
8-
command_arguments = ["run", "--bin", "sitemap"]
7+
command = "sh"
8+
command_arguments = ["-c", "rm -f public/sitemap.xml && wget -S -P public https://github.com/ph4un00b/sitemap-rustico/releases/download/latest/sitemap.xml"]
99

1010
[[hooks]]
1111
stage = "pre_build"

index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
/>
2525
<meta name="twitter:card" content="summary_large_image" />
2626
<meta name="twitter:site" content="@rustlang" />
27-
<link data-trunk rel="rust" data-wasm-opt="z" data-bin="rust_lang_es" />
27+
<link data-trunk rel="rust" data-wasm-opt="z" />
2828
<link
2929
data-trunk
3030
rel="copy-file"

src/bin/sitemap.rs

-20
This file was deleted.

0 commit comments

Comments
 (0)