-
-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathverify.sh
More file actions
executable file
Β·41 lines (35 loc) Β· 1.03 KB
/
verify.sh
File metadata and controls
executable file
Β·41 lines (35 loc) Β· 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#!/bin/bash
# XMake Plugin Verification Script
# This script runs the plugin verification task
set -e
echo "π Verifying XMake Plugin..."
echo ""
# Set JAVA_HOME if not set
if [ -z "$JAVA_HOME" ]; then
# Try to find JDK
if [ -d "$HOME/files/jdk-17.0.8.jdk/Contents/Home" ]; then
export JAVA_HOME="$HOME/files/jdk-17.0.8.jdk/Contents/Home"
echo "π¦ Using JAVA_HOME: $JAVA_HOME"
else
echo "β οΈ JAVA_HOME not set, using system default"
fi
fi
# Run the verification task
echo "π Running plugin verification..."
./gradlew :verifyPlugin
# Check the result
if [ $? -eq 0 ]; then
echo ""
echo "β
Plugin verification completed successfully!"
echo ""
echo "π Verification results are available in:"
echo " - build/reports/plugin-verifier/"
echo ""
echo "π Check the reports for any compatibility issues or warnings."
else
echo ""
echo "β Plugin verification failed!"
echo ""
echo "π Please check the error messages above for details."
exit 1
fi