Skip to content

Commit f1e6412

Browse files
committed
#5 brew
1 parent 96dffec commit f1e6412

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,12 @@ There are two modes to create a snapshot.
99
2. **EVENT** Requires no special node. Collects balance from transfer events.
1010
Works with Infura free plan.
1111

12-
## Running the application
12+
## Install with Homebrew
13+
`brew install OpenFuturePlatform/tap/token-snapshot`
14+
15+
Test running `token-snapshot -h` command
16+
17+
## Clone and run
1318
Run from the command line `token-snapshot` script.
1419

1520
Input arguments:

token-snapshot

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
11
#!/usr/bin/env bash
22

3-
if [ -z "$TOKEN_SNAPSHOT_PATH" ]; then
4-
export TOKEN_SNAPSHOT_PATH=$PWD
5-
fi
6-
73
# BUILD CHECK
8-
BUILD_JAR_PATH=$TOKEN_SNAPSHOT_PATH/build/libs/snapshot-0.0.1-SNAPSHOT.jar
4+
BUILD_JAR_PATH=$PWD/build/libs/snapshot-0.0.1-SNAPSHOT.jar
95
if [ ! -f "$BUILD_JAR_PATH" ]; then
10-
"$TOKEN_SNAPSHOT_PATH"/gradlew build
6+
"$PWD"/gradlew build
117
fi
128

139
# RUN

0 commit comments

Comments
 (0)