We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30a973a commit f230a8fCopy full SHA for f230a8f
1 file changed
hooks/update
@@ -42,16 +42,21 @@ echo "attempting to validate $newrev" >&2
42
43
# --- Test build
44
45
-if [ -f makexpi.sh ]; then
+if [ -f makexpi.sh && -f makecrx.sh ]; then
46
./makexpi.sh
47
- if [ "$?" != 0 ]; then
+ XPIBULID=$?
48
+
49
+ ./makecrx.sh
50
+ CRXBUILD=$?
51
52
+ if [ "$XPIBULID" != 0 || "$CRXBUILD" != 0 ]; then
53
echo "*** build failed" >&2
54
exit 1
55
else
56
exit 0
57
fi
58
- echo "*** could not find makexpi.sh" >&2
59
+ echo "*** could not find makexpi.sh or makecrx.sh." >&2
60
61
62
0 commit comments