We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c097895 commit 2764d3eCopy full SHA for 2764d3e
Makefile
@@ -1,6 +1,6 @@
1
all: ./target/release/xcompress
2
3
-./target/release/xcompress: ./src/lib.rs ./src/main.rs
+./target/release/xcompress: $(shell find . -type f -iname '*.rs' -o -name 'Cargo.toml' | sed 's/ /\\ /g')
4
cargo build --release
5
strip ./target/release/xcompress
6
@@ -10,5 +10,8 @@ install:
10
sudo chown root. /usr/local/bin/xcompress
11
sudo chmod 0755 /usr/local/bin/xcompress
12
13
+test:
14
+ cargo test --verbose
15
+
16
clean:
17
cargo clean
0 commit comments