Skip to content

fix: removed unused script in Makefile #25

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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