Skip to content

Commit

Permalink
Updated test.sh to run fmt check and clippy.
Browse files Browse the repository at this point in the history
  • Loading branch information
rustonaut committed Jan 3, 2022
1 parent 75bd272 commit db14ea6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
10 changes: 7 additions & 3 deletions dart-api-dl/src/cobject.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,13 @@ use std::{
};

use dart_api_dl_sys::{
Dart_CObject, Dart_CObject_Type, _Dart_CObject__bindgen_ty_1,
_Dart_CObject__bindgen_ty_1__bindgen_ty_1, _Dart_CObject__bindgen_ty_1__bindgen_ty_2,
_Dart_CObject__bindgen_ty_1__bindgen_ty_3, _Dart_CObject__bindgen_ty_1__bindgen_ty_5,
Dart_CObject,
Dart_CObject_Type,
_Dart_CObject__bindgen_ty_1,
_Dart_CObject__bindgen_ty_1__bindgen_ty_1,
_Dart_CObject__bindgen_ty_1__bindgen_ty_2,
_Dart_CObject__bindgen_ty_1__bindgen_ty_3,
_Dart_CObject__bindgen_ty_1__bindgen_ty_5,
};

use crate::{ports::SendPort, DartRuntime};
Expand Down
3 changes: 3 additions & 0 deletions test.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
set -eu
cd "$(dirname $0)"

cargo +nightly fmt --all -- --check
cargo clippy --all

cargo test

cargo build -p integration-tests-bindings
Expand Down

0 comments on commit db14ea6

Please sign in to comment.