mirror of
https://github.com/uutils/findutils.git
synced 2026-06-10 15:48:30 -07:00
Compare commits
16 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c6a8a799d3 | |||
| 7e98dbcf03 | |||
| a53099b8f1 | |||
| b5f2d3a8cf | |||
| a5f720874a | |||
| 329a4fd622 | |||
| c4f7872cab | |||
| 67f56fea8c | |||
| 27bf2d2d26 | |||
| c55e2caade | |||
| 55dad3745e | |||
| 249b6eedcf | |||
| c464e8ff1f | |||
| fa976740e9 | |||
| 1cbc975b33 | |||
| abdd86c63d |
@@ -1,23 +0,0 @@
|
||||
os: Visual Studio 2015
|
||||
|
||||
version: "{build}"
|
||||
|
||||
environment:
|
||||
matrix:
|
||||
- channel: stable
|
||||
target: x86_64-pc-windows-msvc
|
||||
- channel: nightly
|
||||
target: x86_64-pc-windows-msvc
|
||||
|
||||
install:
|
||||
- appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
|
||||
- rustup-init -yv --default-toolchain %channel% --default-host %target%
|
||||
- set PATH=%PATH%;%USERPROFILE%\.cargo\bin
|
||||
- rustc -vV && cargo -vV
|
||||
|
||||
build_script:
|
||||
- cargo build --verbose
|
||||
|
||||
test_script:
|
||||
- cargo test --verbose
|
||||
|
||||
@@ -28,7 +28,7 @@ jobs:
|
||||
|
||||
- name: Check
|
||||
run: |
|
||||
cargo check
|
||||
cargo check --all --all-features
|
||||
|
||||
test:
|
||||
name: cargo test
|
||||
|
||||
-33
@@ -1,33 +0,0 @@
|
||||
language: rust
|
||||
|
||||
sudo: false
|
||||
os:
|
||||
- linux
|
||||
- osx
|
||||
rust:
|
||||
- stable
|
||||
- nightly
|
||||
|
||||
matrix:
|
||||
fast_finish: true
|
||||
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
|
||||
cache: cargo
|
||||
|
||||
before_cache: |
|
||||
if [[ "$TRAVIS_RUST_VERSION" = nightly ]]; then
|
||||
RUSTFLAGS="--cfg procmacro2_semver_exempt" cargo install cargo-tarpaulin -f
|
||||
fi
|
||||
|
||||
script:
|
||||
- cargo build --verbose
|
||||
- cargo test --verbose
|
||||
|
||||
after_script: |
|
||||
if [[ "$TRAVIS_OS_NAME" = linux && "$TRAVIS_RUST_VERSION" = nightly ]]; then
|
||||
cargo tarpaulin --out Xml
|
||||
bash <(curl -s https://codecov.io/bash)
|
||||
fi
|
||||
Generated
+429
-99
File diff suppressed because it is too large
Load Diff
+3
-3
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "findutils"
|
||||
version = "0.4.1"
|
||||
version = "0.4.2"
|
||||
homepage = "https://github.com/uutils/findutils"
|
||||
repository = "https://github.com/uutils/findutils"
|
||||
edition = "2018"
|
||||
@@ -15,9 +15,9 @@ clap = "2.34"
|
||||
faccess = "0.2.4"
|
||||
walkdir = "2.3"
|
||||
regex = "1.7"
|
||||
once_cell = "1.17"
|
||||
once_cell = "1.18"
|
||||
onig = "6.4"
|
||||
uucore = { version = "0.0.12", features = ["entries", "fs", "fsext", "mode"] }
|
||||
uucore = { version = "0.0.20", features = ["entries", "fs", "fsext", "mode"] }
|
||||
|
||||
[dev-dependencies]
|
||||
assert_cmd = "2"
|
||||
|
||||
@@ -463,7 +463,9 @@ fn format_directive<'entry>(
|
||||
#[cfg(unix)]
|
||||
FormatDirective::Filesystem => {
|
||||
let dev_id = meta()?.dev().to_string();
|
||||
uucore::fsext::read_fs_list()
|
||||
let fs_list =
|
||||
uucore::fsext::read_fs_list().expect("Could not find the filesystem info");
|
||||
fs_list
|
||||
.into_iter()
|
||||
.find(|fs| fs.dev_id == dev_id)
|
||||
.map(|fs| fs.fs_type)
|
||||
|
||||
Reference in New Issue
Block a user