Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
ff98e6d
copy `ignore` crate for easier modifications
RobinMalfait Mar 17, 2025
18442be
manually apply patches to inlined `ignore` crate
RobinMalfait Mar 17, 2025
22bd00f
run all CI tests when `[ci-all]` exists in PR description
RobinMalfait Mar 21, 2025
ba153be
big refactor, move `Scanner` to `scanner/mod.rs`
RobinMalfait Mar 21, 2025
72b18cd
simplify `scanner` test setup
RobinMalfait Mar 21, 2025
cd6ccb2
add new Scanner tests
RobinMalfait Mar 21, 2025
324569c
update public Rust API
RobinMalfait Mar 21, 2025
335e9e1
update use statements due to big refactor
RobinMalfait Mar 21, 2025
88a6048
rename `globs` to `sources`
RobinMalfait Mar 21, 2025
602a801
add `negated` flag to `sources`
RobinMalfait Mar 21, 2025
9798637
add missing `reference` property
RobinMalfait Mar 21, 2025
9958612
update integration tests
RobinMalfait Mar 21, 2025
878782e
use `normalizedSources` in the CLI
RobinMalfait Mar 21, 2025
a7bef4e
add `.gitignore` as a default ignored file
RobinMalfait Mar 21, 2025
8d154d1
add `node_modules` as a default ignored folder
RobinMalfait Mar 21, 2025
38ed37e
add `enableSourceNot` feature flag
RobinMalfait Mar 21, 2025
0f73797
run prettier
RobinMalfait Mar 21, 2025
97fc4bf
Simplify gitignore order change
philipp-spiess Mar 25, 2025
94473d3
Rename GitHub CI var
philipp-spiess Mar 25, 2025
7442baa
Explicitly mark test functions
philipp-spiess Mar 25, 2025
2425aef
Handle source paths into ignored content dirs as "external"
philipp-spiess Mar 25, 2025
bb0610d
Revert "Explicitly mark test functions"
philipp-spiess Mar 25, 2025
6952871
Explicitly mark test functions
philipp-spiess Mar 25, 2025
b6ab98f
Cleanup comment
philipp-spiess Mar 25, 2025
5e7d035
Cleanup public source entry creation
philipp-spiess Mar 25, 2025
9d4c2af
Cleanups and test utf8 special characters in paths
philipp-spiess Mar 25, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Revert "Explicitly mark test functions"
This reverts commit fb4d8d8.
  • Loading branch information
philipp-spiess committed Mar 25, 2025
commit bb0610dd641e97bfb4425430fc8a73c9ec6eeca7
3 changes: 0 additions & 3 deletions crates/oxide/tests/scanner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ mod scanner {
candidates: Vec<String>,
}

#[cfg(test)]
fn create_files_in(dir: &path::Path, paths: &[(&str, &str)]) {
// Create the necessary files
for (path, contents) in paths {
Expand All @@ -30,7 +29,6 @@ mod scanner {
}
}

#[cfg(test)]
fn scan_with_globs(
paths_with_content: &[(&str, &str)],
source_directives: Vec<&str>,
Expand Down Expand Up @@ -108,7 +106,6 @@ mod scanner {
}
}

#[cfg(test)]
fn scan(paths_with_content: &[(&str, &str)]) -> ScanResult {
scan_with_globs(paths_with_content, vec!["@source '**/*'"])
}
Expand Down