Skip to content

Commit

Permalink
fix: removed unused script in Makefile (#25)
Browse files Browse the repository at this point in the history
Signed-off-by: Hergy Fongue <tchuinkoufongue@gmail.com>
  • Loading branch information
rjtch authored May 25, 2024
1 parent b778dd5 commit 9e390c7
Showing 1 changed file with 2 additions and 43 deletions.
45 changes: 2 additions & 43 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,42 +1,10 @@
build_docs:
cargo doc --no-deps
build_examples:
cargo build --examples
build:
cargo build
build_release:
cargo build --release
build_release_%:
cargo build --release --package $*
build_%:
cargo build --package $*

fmt:
cargo fmt --all

check:
cargo hack check --each-feature

check_no_std:
cargo --version
cargo check --target thumbv7em-none-eabihf -p ockam --no-default-features --features 'no_std alloc software_vault'
# no_std example project
cd examples/rust/example_projects/no_std
cargo check --example hello

check_cargo_update:
cargo --version
# TODO: uncomment when tauri version is updated
# rm -rf Cargo.lock
# cargo update
# cargo check

# no uncommitted changes on sdk (generated code)
check_no_uncommitted_changes_on_sdk:
git diff --exit-code cdevents-sdk

lint: lint_cargo_fmt_check lint_cargo_deny lint_cargo_clippy

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

Expand All @@ -56,15 +24,6 @@ lint_cargo_toml_fmt_files:
lint_cargo_toml_check_files:
dprint check --config=tools/dprint/dprint.json

test_cargo_nextest:
cargo nextest run --all-features

test_cargo_check:
cargo hack check --each-feature --no-dev-deps

test_cargo_machete:
cargo machete --with-metadata

clean:
cargo clean

Expand All @@ -79,5 +38,5 @@ test:
generate \
check check_no_uncommitted_changes_on_sdk \
test \
lint lint_cargo_fmt_check lint_cargo_deny lint_cargo_clippy lint_cargo_toml_files lint_cargo_readme lint_cargo_readme_% lint_cargo_toml_files \
clean clean_% very_clean format
lint_cargo_fmt_check lint_cargo_deny lint_cargo_clippy lint_cargo_toml_files \
clean

0 comments on commit 9e390c7

Please sign in to comment.