File tree 2 files changed +7
-16
lines changed
cpp-linter-lib/src/clang_tools
2 files changed +7
-16
lines changed Original file line number Diff line number Diff line change @@ -18,13 +18,6 @@ use crate::{
18
18
common_fs:: { normalize_path, FileObj } ,
19
19
} ;
20
20
21
- // /// Used to deserialize a JSON compilation database
22
- // #[derive(Deserialize, Debug, Clone)]
23
- // pub struct CompilationDatabase {
24
- // /// A list of [`CompilationUnit`]
25
- // units: Vec<CompilationUnit>,
26
- // }
27
-
28
21
/// Used to deserialize a json compilation database's translation unit.
29
22
///
30
23
/// The only purpose this serves is to normalize relative paths for build systems that
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ py-dev:
22
22
test :
23
23
cargo llvm-cov --no-report \
24
24
nextest --manifest-path cpp-linter-lib/ Cargo.toml \
25
- - -lib --color always
25
+ - -lib --tests -- color always
26
26
27
27
# generate and open pretty coverage report
28
28
[group (" code coverage" )]
@@ -40,30 +40,28 @@ llvm-cov *args='':
40
40
# generate lcov.info
41
41
[group (" code coverage" )]
42
42
lcov :
43
- @ cargo llvm-cov report --lcov --output-path lcov.info
43
+ cargo llvm-cov report --lcov --output-path lcov.info --ignore-filename-regex main
44
44
45
45
# serve docs
46
46
[group (" docs" )]
47
47
docs open = ' ':
48
- @ mdbook serve docs {{ open }}
48
+ mdbook serve docs {{ open }}
49
49
50
50
# build docs
51
51
[group (" docs" )]
52
- docs-build :
53
- mdbook build docs -- open
52
+ docs-build open = ' ' :
53
+ mdbook build docs {{ open }}
54
54
55
55
# rust docs
56
56
[group (" docs" )]
57
- docs-rs :
58
- cargo doc --no-deps --lib --manifest-path cpp-linter-lib/ Cargo.toml -- open
57
+ docs-rs open = ' ' :
58
+ cargo doc --no-deps --lib --manifest-path cpp-linter-lib/ Cargo.toml {{ open }}
59
59
60
60
# run cpp-linter native binary
61
61
[group (" bin" )]
62
62
run * args :
63
63
cargo run --bin cpp-linter --manifest-path cpp-linter-lib/ Cargo.toml -- {{ args }}
64
64
65
- # The tool parameter can be set to 'cross' when cross compiling.
66
-
67
65
# build the native binary
68
66
[group (" bin" )]
69
67
build * args = ' ':
You can’t perform that action at this time.
0 commit comments