Skip to content
This repository was archived by the owner on Apr 2, 2025. It is now read-only.

Commit 9bfe841

Browse files
author
Vanessa McHale
committed
for travis CI
1 parent 70377ac commit 9bfe841

File tree

5 files changed

+13
-17
lines changed

5 files changed

+13
-17
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "tin-drummer"
33
version = "0.1.0"
44
authors = ["Vanessa McHale <[email protected]>"]
55
license-file = "LICENSE"
6-
description = "Command-line tool to find build artifacts and junk on your computer."
6+
description = "Command-line tool to find build artifacts and junk on your computer. Shatters records not glass."
77
readme = "README.md"
88
repository = "https://nest.pijul.com/vamchale/file-sniffer"
99
documentation = "https://github.com/vmchale/file-sniffer#README"

bash/build_all

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ mkdir -p target/completions
33
export PATH=/home/vanessa/arm-bins/cross-compilation/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin:$PATH
44
export BASH_COMPLETIONS_DIR="target/completions"
55
export FISH_COMPLETIONS_DIR="target/completions"
6-
cargo build --bin sniff --features "bash, fish" --release
7-
cargo build --bin sniff --target=x86_64-pc-windows-gnu --release
8-
cargo build --bin sniff --target=arm-unknown-linux-gnueabihf --release
9-
cargo build --bin sniff --target=x86_64-unknown-linux-musl --release
10-
cross build --bin sniff --target=arm-unknown-linux-musleabi --release
11-
cross build --bin sniff --target=x86_64-unknown-freebsd --release
12-
cross build --bin sniff --target=x86_64-unknown-netbsd --release
6+
cargo build --bin sn --features "bash, fish" --release
7+
cargo build --bin sn --target=x86_64-pc-windows-gnu --release
8+
cargo build --bin sn --target=arm-unknown-linux-gnueabihf --release
9+
cargo build --bin sn --target=x86_64-unknown-linux-musl --release
10+
cross build --bin sn --target=arm-unknown-linux-musleabi --release
11+
cross build --bin sn --target=x86_64-unknown-freebsd --release
12+
cross build --bin sn --target=x86_64-unknown-netbsd --release
1313
#cargo build --no-default-features --features deutsch --bin schnüffle --release
1414
#cargo build --no-default-features --features deutsch --bin schnüffle --target=x86_64-pc-windows-gnu --release
1515
#cargo build --no-default-features --features deutsch --bin schnüffle --target=arm-unknown-linux-gnueabihf --release

bash/cross-buildtest

Lines changed: 0 additions & 6 deletions
This file was deleted.

bash/windows_test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#!/usr/bin/env bash
2-
cargo build --bin sniff --target=x86_64-pc-windows-gnu
2+
cargo build --target=x86_64-pc-windows-gnu

src/test.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,25 +73,27 @@ fn bench_gitignore(b: &mut Bencher) {
7373
b.iter(|| file_contents_to_regex(file_contents, &PathBuf::from("testdata/.gitignore")))
7474
}
7575

76+
/*
7677
#[bench]
7778
fn bench_parallel_traversal(b: &mut Bencher) {
7879
let p = PathBuf::from("src/testdata");
7980
let nproc = get_processors();
8081
b.iter(|| read_parallel(&p, None, None, true, nproc, false, false))
81-
}
82+
}*/
8283

8384
#[bench]
8485
fn bench_traversal_large(b: &mut Bencher) {
8586
let p = PathBuf::from(".");
8687
b.iter(|| read_size(&p, 4, None, None, None, &None, false, false))
8788
}
8889

90+
/*
8991
#[bench]
9092
fn bench_parallel_traversal_large(b: &mut Bencher) {
9193
let p = PathBuf::from(".");
9294
let nproc = get_processors();
9395
b.iter(|| read_parallel(&p, None, None, true, nproc, false, false))
94-
}
96+
}*/
9597

9698
#[bench]
9799
fn bench_traversal(b: &mut Bencher) {

0 commit comments

Comments
 (0)