Skip to content

Commit 2764d3e

Browse files
committed
update Makefile
1 parent c097895 commit 2764d3e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
all: ./target/release/xcompress
22

3-
./target/release/xcompress: ./src/lib.rs ./src/main.rs
3+
./target/release/xcompress: $(shell find . -type f -iname '*.rs' -o -name 'Cargo.toml' | sed 's/ /\\ /g')
44
cargo build --release
55
strip ./target/release/xcompress
66

@@ -10,5 +10,8 @@ install:
1010
sudo chown root. /usr/local/bin/xcompress
1111
sudo chmod 0755 /usr/local/bin/xcompress
1212

13+
test:
14+
cargo test --verbose
15+
1316
clean:
1417
cargo clean

0 commit comments

Comments
 (0)