Skip to content

Commit

Permalink
Remove ABCI++ commands from the Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
sug0 committed May 22, 2023
1 parent a5a606f commit 1884d46
Showing 1 changed file with 1 addition and 59 deletions.
60 changes: 1 addition & 59 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,6 @@ check:
make -C $(wasms_for_tests) check && \
$(foreach wasm,$(wasm_templates),$(check-wasm) && ) true

check-abcipp:
$(cargo) +$(nightly) check \
--workspace \
--exclude namada_tests \
--all-targets \
--no-default-features \
--features "abcipp ibc-mocks-abcipp testing" \
-Z unstable-options

check-mainnet:
$(cargo) check --workspace --features "mainnet"

Expand All @@ -61,25 +52,6 @@ clippy:
make -C $(wasms_for_tests) clippy && \
$(foreach wasm,$(wasm_templates),$(clippy-wasm) && ) true

clippy-abcipp:
NAMADA_DEV=false $(cargo) +$(nightly) clippy --all-targets \
--manifest-path ./apps/Cargo.toml \
--no-default-features \
--features "std testing abcipp" && \
$(cargo) +$(nightly) clippy --all-targets \
--manifest-path ./proof_of_stake/Cargo.toml \
--features "testing" && \
$(cargo) +$(nightly) clippy --all-targets \
--manifest-path ./shared/Cargo.toml \
--no-default-features \
--features "testing wasm-runtime abcipp ibc-mocks-abcipp ferveo-tpke" && \
$(cargo) +$(nightly) clippy \
--all-targets \
--manifest-path ./vm_env/Cargo.toml \
--no-default-features && \
make -C $(wasms) clippy && \
$(foreach wasm,$(wasm_templates),$(clippy-wasm) && ) true

clippy-mainnet:
$(cargo) +$(nightly) clippy --all-targets --features "mainnet" -- -D warnings

Expand Down Expand Up @@ -137,36 +109,6 @@ else
-Z unstable-options --report-time
endif

test-unit-abcipp:
$(cargo) test \
--manifest-path ./apps/Cargo.toml \
--no-default-features \
--features "testing std abcipp" \
-Z unstable-options \
$(TEST_FILTER) -- \
-Z unstable-options --report-time && \
$(cargo) test \
--manifest-path \
./proof_of_stake/Cargo.toml \
--features "testing" \
-Z unstable-options \
$(TEST_FILTER) -- \
-Z unstable-options --report-time && \
$(cargo) test \
--manifest-path ./shared/Cargo.toml \
--no-default-features \
--features "testing wasm-runtime abcipp ibc-mocks-abcipp" \
-Z unstable-options \
$(TEST_FILTER) -- \
-Z unstable-options --report-time && \
$(cargo) test \
--manifest-path ./vm_env/Cargo.toml \
--no-default-features \
--features "abcipp" \
-Z unstable-options \
$(TEST_FILTER) -- \
-Z unstable-options --report-time

test-unit:
$(cargo) +$(nightly) test \
$(TEST_FILTER) \
Expand Down Expand Up @@ -278,4 +220,4 @@ test-miri:
MIRIFLAGS="-Zmiri-disable-isolation" $(cargo) +$(nightly) miri test


.PHONY : build check build-release clippy install run-ledger run-gossip reset-ledger test test-debug fmt watch clean build-doc doc build-wasm-scripts-docker debug-wasm-scripts-docker build-wasm-scripts debug-wasm-scripts clean-wasm-scripts dev-deps test-miri test-unit test-unit-abcipp clippy-abcipp
.PHONY : build check build-release clippy install run-ledger run-gossip reset-ledger test test-debug fmt watch clean build-doc doc build-wasm-scripts-docker debug-wasm-scripts-docker build-wasm-scripts debug-wasm-scripts clean-wasm-scripts dev-deps test-miri test-unit

0 comments on commit 1884d46

Please sign in to comment.