From cf6714dd85f787fc527936495d2dee5cd41479df Mon Sep 17 00:00:00 2001 From: iximeow Date: Mon, 13 May 2024 23:08:00 -0700 Subject: add goodfile --- CHANGELOG | 2 ++ goodfile | 19 +++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 goodfile diff --git a/CHANGELOG b/CHANGELOG index f57390d..4fb39ab 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -12,6 +12,8 @@ moved a use of `serde` types to be covered by the relevant cfg flag; using `colo fixed up doc comments to build without error. +(and additional testing permutations to validate cfg flags and doc comments in the future) + ## 0.2.7 moved `AnnotatingDecoder` and its associated types to `annotation/`, for module-level documentation about that feature. diff --git a/goodfile b/goodfile new file mode 100644 index 0000000..4bdc992 --- /dev/null +++ b/goodfile @@ -0,0 +1,19 @@ +Build.dependencies({"git", "make", "rustc", "cargo"}) + +Step.start("crate") +Step.push("build") +Build.run({"cargo", "build"}) + +Step.advance("test") +Build.run({"cargo", "test"}, {name="test default features"}) +Build.run({"cargo", "test", "--no-default-features"}, {name="test no features"}) +Build.run({"cargo", "test", "--no-default-features", "--features", "std"}, {name="test std only"}) +Build.run({"cargo", "test", "--no-default-features", "--features", "colors"}, {name="test feature combinations"}) +Build.run({"cargo", "test", "--no-default-features", "--features", "use-serde"}, {name="test feature combinations"}) +Build.run({"cargo", "test", "--no-default-features", "--features", "address-parse"}, {name="test feature combinations"}) +Build.run({"cargo", "test", "--no-default-features", "--features", "std,colors"}, {name="test feature combinations"}) +Build.run({"cargo", "test", "--no-default-features", "--features", "std,use-serde"}, {name="test feature combinations"}) +Build.run({"cargo", "test", "--no-default-features", "--features", "std,address-parse"}, {name="test feature combinations"}) +Build.run({"cargo", "test", "--no-default-features", "--features", "use-serde,colors,address-parse"}, {name="test feature combinations"}) +Build.run({"cargo", "test", "--no-default-features", "--features", "std,colors,address-parse"}, {name="test feature combinations"}) +Build.run({"cargo", "test", "--no-default-features", "--features", "std,use-serde,colors"}, {name="test feature combinations"}) -- cgit v1.1