Skip to content

Commit e08c51e

Browse files
committed
mega-melt: log melting pot generation output
1 parent cab455c commit e08c51e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tests/run.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ megaMeltPOM="$megaMeltDir/pom.xml"
2626
meltingPotLocal="$dir/../../scijava-scripts/melting-pot.sh"
2727
meltingPotURL=https://raw.githubusercontent.com/scijava/scijava-scripts/main/melting-pot.sh
2828
meltingPotScript="$megaMeltDir/melting-pot.sh"
29+
meltingPotLog="$megaMeltDir/melting-pot.log"
2930
meltingPotDir="$megaMeltDir/melting-pot"
3031

3132
rm -rf "$megaMeltDir" && mkdir -p "$megaMeltDir" || die "Creation of $megaMeltDir failed!"
@@ -81,7 +82,8 @@ chmod +x "$meltingPotScript" &&
8182
-e 'org.scijava:jep' \
8283
-e 'org.scijava:junit-benchmarks' \
8384
-e 'org.scijava:vecmath' \
84-
-f -v -s $@ | grep -v '\(Skipping the build\|Melt complete\)' || die 'Melting pot build failed!'
85+
-f -v -s $@ 2>&1 | tee "$meltingPotLog" ||
86+
die 'Melting pot build failed!'
8587

8688
# HACK: Remove known-duplicate artifactIds from version property overrides.
8789
# The plan is for this step to become unnecessary once the melting pot has

0 commit comments

Comments
 (0)