-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathverify-gui-setup.sh
More file actions
executable file
·53 lines (46 loc) · 1.2 KB
/
verify-gui-setup.sh
File metadata and controls
executable file
·53 lines (46 loc) · 1.2 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
42
43
44
45
46
47
48
49
50
51
52
53
#!/bin/bash
# Quick verification script for GUI setup
echo "Verifying crTool GUI Setup..."
echo ""
# Check if library source exists
if [ -f "src/lib.rs" ]; then
echo "✓ Library API (src/lib.rs) exists"
else
echo "✗ Missing: src/lib.rs"
exit 1
fi
# Check if GUI directory exists
if [ -d "crtool-gui" ]; then
echo "✓ GUI directory (crtool-gui/) exists"
else
echo "✗ Missing: crtool-gui/"
exit 1
fi
# Check if GUI source exists
if [ -f "crtool-gui/src/main.rs" ]; then
echo "✓ GUI source (crtool-gui/src/main.rs) exists"
else
echo "✗ Missing: crtool-gui/src/main.rs"
exit 1
fi
# Check if workspace Cargo.toml exists
if [ -f "Cargo.toml" ]; then
echo "✓ Workspace Cargo.toml exists"
else
echo "✗ Missing: Cargo.toml"
exit 1
fi
# Check if schema exists
if [ -f "INTERNAL/schemas/indicators-schema.json" ]; then
echo "✓ Indicators schema exists"
else
echo "✗ Missing: INTERNAL/schemas/indicators-schema.json"
exit 1
fi
echo ""
echo "All files present!"
echo ""
echo "Next steps:"
echo "1. Build the GUI: cargo build --release -p crTool-gui"
echo "2. Run the GUI: cargo run --release -p crTool-gui"
echo "3. Test with files from testset/ directory"