update Makefile

This commit is contained in:
chonghe
2023-07-17 09:20:23 +08:00
parent 5400b6e0d0
commit 542afe139c
2 changed files with 6 additions and 1 deletions

View File

@@ -164,8 +164,12 @@ test-exec-engine:
# test vectors.
test: test-release
# Run bash script to output cli.txt
cli:
/home/hi/cli/lighthouse/scripts/cli.sh
# Runs the entire test suite, downloading test vectors if required.
test-full: cargo-fmt test-release test-debug test-ef test-exec-engine
test-full: cargo-fmt test-release test-debug test-ef test-exec-engine cli
# Lints the code for bad style and potentially unsafe arithmetic using Clippy.
# Clippy lints are opt-in per-crate for now. By default, everything is allowed except for performance and correctness lints.

View File

@@ -8,6 +8,7 @@ read -p "Enter Lighthouse version: " version
binary="curl -LO https://github.com/sigp/lighthouse/releases/download/v$version/lighthouse-v$version-x86_64-unknown-linux-gnu.tar.gz"
#download the binary to the present working directory
cd /home/hi/cli/lighthouse/scripts
$binary
#extract