File tree Expand file tree Collapse file tree 3 files changed +19
-0
lines changed
Expand file tree Collapse file tree 3 files changed +19
-0
lines changed Original file line number Diff line number Diff line change 1111- 8ef76dcc: Fix ` Marker ` s for ` null ` and empty values.
1212- Fix ` Span ` s for collections to correctly mark the end of the collection.
1313
14+ ** Changes**
15+
16+ - Exclude ` yaml-test-suite ` from the Cargo package.
17+
1418## v0.0.4
1519
1620** Breaking Changes** :
Original file line number Diff line number Diff line change @@ -11,6 +11,13 @@ license = { workspace = true }
1111repository = { workspace = true }
1212rust-version = { workspace = true }
1313version = { workspace = true }
14+ exclude = [
15+ # Exclude the `yaml-test-suite` from the package. This removes the need to
16+ # add its license to the package.
17+ " /tests/yaml-test-suite" ,
18+ # We don't need the documents either.
19+ " /documents" ,
20+ ]
1421
1522[features ]
1623debug_prints = []
Original file line number Diff line number Diff line change @@ -20,6 +20,14 @@ struct YamlTest {
2020}
2121
2222fn main ( ) -> Result < ( ) > {
23+ if !std:: path:: Path :: new ( "tests/yaml-test-suite" ) . is_dir ( ) {
24+ eprintln ! ( "===================================================================" ) ;
25+ eprintln ! ( "/!\\ yaml-test-suite directory not found, Skipping tests /!\\ " ) ;
26+ eprintln ! ( "If you intend to contribute to the library, restore the test suite." ) ;
27+ eprintln ! ( "===================================================================" ) ;
28+ return Ok ( ( ) ) ;
29+ }
30+
2331 let mut arguments = Arguments :: from_args ( ) ;
2432 if arguments. num_threads . is_none ( ) {
2533 arguments. num_threads = Some ( 1 ) ;
You can’t perform that action at this time.
0 commit comments