mirror of
https://github.com/luxfi/cli.git
synced 2026-10-30 17:01:20 +00:00
Update CLI for genesis Fix import paths from ethereum/go-ethereum to luxfi/geth - Replace all ethereum/go-ethereum imports with luxfi/geth - Add local rawdb package for unexported constants - Fix build errors in genesis tools - Add comprehensive migration documentation - Create build-all.sh script for building all tools - Clean up duplicate functions and unused imports Fix remaining imports Update CLI Remove symlink Remove local replace directives Update Update old templates
14 lines
445 B
Bash
14 lines
445 B
Bash
#!/usr/bin/env bash
|
|
# delete existing repo directory if it exists
|
|
# choosing to delete and re-clone to avoid merge conflicts
|
|
if [ -d {{ .LoadTestRepoDir }} ]; then
|
|
rm -rf {{ .LoadTestRepoDir }}
|
|
fi
|
|
git clone {{ .LoadTestRepo }}
|
|
echo "getting load test repo ..."
|
|
cd {{ .LoadTestRepoDir }}
|
|
git fetch --depth 1 origin {{ .LoadTestBranch }} -q
|
|
git checkout {{ .LoadTestBranch }}
|
|
eval {{ .LoadTestPath }}
|
|
echo "successfully built load test binary!"
|