GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Move cargo:rerun-if-changed prints to make the build script rebuild u… · BuggStream/feather@ba84268

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • data
    • build.rs
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎data/build.rs‎

Copy file name to clipboardExpand all lines: data/build.rs
+3-2Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,8 @@ fn main() -> Result<(), Box<dyn Error>> {
1010
let path = Path::new(concat!(env!("CARGO_MANIFEST_DIR"), "/minecraft"));
1111
let path_server = path.join("server.jar");
1212

13-
println!("cargo:rerun-if-changed={}", &path.display());
14-
1513
if data_exists(path).unwrap_or(false) {
14+
println!("cargo:rerun-if-changed={}", &path.display());
1615
return Ok(());
1716
}
1817

@@ -22,6 +21,8 @@ fn main() -> Result<(), Box<dyn Error>> {
2221
donwload(&path_server)?;
2322
generate(&path)?;
2423
extract(&path)?;
24+
25+
println!("cargo:rerun-if-changed={}", &path.display());
2526
Ok(())
2627
}
2728

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.