Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/contentauth/c2pa-rs into ex…
Browse files Browse the repository at this point in the history
…ternal_manifest

* 'main' of https://github.com/contentauth/c2pa-rs:
  (IGNORE) Update makefile test to use nightly fmt and add fmt script (#103)
  • Loading branch information
mauricefisher64 committed Aug 10, 2022
2 parents 252aeeb + 265ddfa commit 90e5c8a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ else
endif

check-format:
cargo fmt -- --check
cargo +nightly fmt -- --check

check-docs:
cargo doc --no-deps --workspace --all-features
Expand All @@ -35,6 +35,10 @@ test-wasm:
# Run this before pushing a PR to pre-validate
test: check-format check-docs clippy test-local test-no-defaults test-wasm

# Auto format code according to standards
fmt:
cargo +nightly fmt

# Builds and views documentation
doc:
cargo doc --no-deps --open
Expand Down

0 comments on commit 90e5c8a

Please sign in to comment.