Przeglądaj źródła

These should be cargo clean

It's better to use the interface rather than just nuke the target dir
Steve Klabnik 9 lat temu
rodzic
commit
0b4ff2e959
2 zmienionych plików z 2 dodań i 2 usunięć
  1. 1 1
      frameworks/Rust/iron/setup.sh
  2. 1 1
      frameworks/Rust/nickel/setup.sh

+ 1 - 1
frameworks/Rust/iron/setup.sh

@@ -2,6 +2,6 @@
 
 fw_depends rust
 
-rm -rf target/
+cargo clean
 cargo build --release
 ./target/release/iron &

+ 1 - 1
frameworks/Rust/nickel/setup.sh

@@ -2,6 +2,6 @@
 
 fw_depends rust
 
-rm -rf target/
+cargo clean
 cargo build --release
 ./target/release/nickel &