-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: cleanup, structure improvments, simplified build scripts, remo…
…ve git submodules
- Loading branch information
Showing
23 changed files
with
174 additions
and
567 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,3 +11,6 @@ uniswapTokenData | |
config/*settings.json | ||
**/*.backup | ||
.vscode/* | ||
snapshotter-lite-local-collector | ||
config | ||
computes |
This file was deleted.
Oops, something went wrong.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
#!/bin/bash | ||
source .env | ||
rm -rf logs/snapshotter/*; | ||
rm -rf logs/local-collector/*; | ||
|
||
if [ "$SNAPSHOT_CONFIG_REPO" ]; then | ||
echo "Found SNAPSHOT_CONFIG_REPO ${SNAPSHOT_CONFIG_REPO}"; | ||
rm -rf config; | ||
git clone $SNAPSHOT_CONFIG_REPO config; | ||
cd config; | ||
if [ "$SNAPSHOT_CONFIG_REPO_BRANCH" ]; then | ||
echo "Found SNAPSHOT_CONFIG_REPO_BRANCH ${SNAPSHOT_CONFIG_REPO_BRANCH}"; | ||
git checkout $SNAPSHOT_CONFIG_REPO_BRANCH; | ||
fi | ||
cd ../; | ||
fi | ||
|
||
if [ "$SNAPSHOTTER_COMPUTE_REPO" ]; then | ||
echo "Found SNAPSHOTTER_COMPUTE_REPO ${SNAPSHOTTER_COMPUTE_REPO}"; | ||
rm -rf snapshotter/modules/computes; | ||
cd snapshotter/modules/; | ||
git clone $SNAPSHOTTER_COMPUTE_REPO computes; | ||
cd computes; | ||
if [ "$SNAPSHOTTER_COMPUTE_REPO_BRANCH" ]; then | ||
echo "Found SNAPSHOTTER_COMPUTE_REPO_BRANCH ${SNAPSHOTTER_COMPUTE_REPO_BRANCH}"; | ||
git checkout $SNAPSHOTTER_COMPUTE_REPO_BRANCH; | ||
fi | ||
cd ../../../; | ||
fi | ||
|
||
echo "bootstrapping complete!"; |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.