Skip to content

Commit

Permalink
Export rust_log using variable
Browse files Browse the repository at this point in the history
  • Loading branch information
liurenjie1024 committed Dec 1, 2023
1 parent d074c9a commit 1aad5c5
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
# specific language governing permissions and limitations
# under the License.

.EXPORT_ALL_VARIABLES:

RUST_LOG = debug

check-fmt:
cargo fmt --all -- --check

Expand All @@ -28,5 +32,5 @@ cargo-sort:
check: check-fmt check-clippy cargo-sort

test:
RUST_LOG=debug cargo test --no-fail-fast --all-targets --all-features --workspace
RUST_LOG=debug cargo test --no-fail-fast --doc --all-features --workspace
cargo test --no-fail-fast --all-targets --all-features --workspace
cargo test --no-fail-fast --doc --all-features --workspace

0 comments on commit 1aad5c5

Please sign in to comment.