-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Tool for converting Record Files to Block Stream (#389)
Signed-off-by: jasperpotts <[email protected]> Co-authored-by: jasperpotts <[email protected]>
- Loading branch information
1 parent
3ad4efc
commit ac58d0b
Showing
26 changed files
with
2,620 additions
and
32 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
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
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,16 @@ | ||
#!/bin/bash | ||
# run gradle jar build and send output to /dev/null | ||
./gradlew -q tool:shadowJar > /dev/null | ||
# check if last command failed and exit if so | ||
if [ $? -ne 0 ]; then | ||
echo "Build failed" | ||
exit 1 | ||
fi | ||
# change to the tools directory | ||
pushd tools > /dev/null | ||
# find the jar name in the build/libs directory | ||
JAR=$(find build/libs -name 'tools-*-all.jar') | ||
# run the command line tool built jar file forwarding all arguments | ||
java -jar $JAR "$@" | ||
# change back to the original directory | ||
popd > /dev/null |
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
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
Oops, something went wrong.