Skip to content

Commit 52ea54f

Browse files
committed
shorten console output
1 parent d510e8d commit 52ea54f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

ghidra-publish.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ rm -rf build
3838
# setting the release.name in application.properties, a.k.a. minor version to include a git sha and the current date - we will revert this after the build
3939
sed -i s/__RELEASE_NAME__/${MINOR_VERSION}/ Ghidra/application.properties
4040

41-
# build ghidra (we'll check and handle the exit code further down in case it fails...)
42-
gradle -I gradle/support/fetchDependencies.gradle buildGhidra
41+
echo 'building ghidra now - the console output is very noisy, so we redirect it to buildGhidra.out'
42+
gradle -I gradle/support/fetchDependencies.gradle buildGhidra > buildGhidra.out
4343
BUILD_EXIT_CODE=$?
4444

4545
# revert the change we made above in application.properties: back to the placeholder
@@ -61,7 +61,8 @@ pushd build/dist
6161
YEAR_MONTH_DAY=$(date +"%Y%m%d")
6262
unzip "ghidra_${FULL_VERSION}_${YEAR_MONTH_DAY}_linux_x86_64.zip"
6363
pushd "ghidra_${FULL_VERSION}"
64-
support/buildGhidraJar
64+
echo 'building ghidra jar now - the console output is very noisy, so we redirect it to buildGhidraJar.out'
65+
support/buildGhidraJar > buildGhidraJar.out
6566
popd
6667

6768
DIST_DIR=$(pwd)/ghidra_${FULL_VERSION}

0 commit comments

Comments
 (0)