fix: various crate/clippy/ci changes (#181)

* crate: Set default binary to gamedig-cli

* crate: Fix bad no-default-features option on gamedig-id dependency

* ci: Run tests when Cargo.toml changes

* id-tests: Clippy fixes
This commit is contained in:
Tom 2024-01-18 13:34:05 +00:00 committed by GitHub
parent 0f9bada4f3
commit 32dd486632
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 12 additions and 11 deletions

View file

@ -13,7 +13,7 @@ struct Game {
use gamedig_id_tests::test_game_name_rules;
fn main() {
let games: GamesInput = if let Some(file) = std::env::args_os().skip(1).next() {
let games: GamesInput = if let Some(file) = std::env::args_os().nth(1) {
let file = std::fs::OpenOptions::new().read(true).open(file).unwrap();
serde_json::from_reader(file).unwrap()