소스 검색

Update to README

Added a one liner for installation, and some of how it works, and why you might want to use it
David Thielemann 3 주 전
부모
커밋
688fb4fa86
1개의 변경된 파일27개의 추가작업 그리고 1개의 파일을 삭제
  1. 27 1
      README.md

+ 27 - 1
README.md

@@ -1,3 +1,29 @@
 # rustpan
 
-Cargo cleaner
+It's not a dust pan, it's a rust pan. (A cargo cleaner)
+
+## Installation
+
+Simple `cargo install --path .`
+
+## How it works
+
+It's a simple rust crate that goes thru the current working directory finding crates (via `target` directory) and calls `cargo clean` to reduce the number of files stored on the file system.
+
+As of v0.1.1 it also supports nested crates...
+
+```
+# E.G.
+dev/rust/major_project/
+dev/rust/major_project/crate1/
+dev/rust/major_project/crate1/src/
+dev/rust/major_project/crate1/target/
+dev/rust/major_project/crate2/
+dev/rust/major_project/crate2/src/
+dev/rust/major_project/crate2/target/
+dev/rust/major_project/crate3/
+dev/rust/major_project/crate3/src/
+dev/rust/major_project/crate3/target/
+```
+
+The above will be cleaned even if you run rust pan from `dev/rust/` (Or you could run it in `dev/rust/major_project`, which might be better if you only wanted to clean just a handful of crates)