numzoo / scripts /check_imports.sh
goumsss's picture
scripts: remove hardcoded paths, clean up run.sh kill logic
d34e1e5
Raw
History Blame Contribute Delete
219 Bytes
#!/bin/bash
PYTHON="${HOME}/miniforge3/bin/python3"
cd "$(dirname "$0")/.."
echo "Checking imports..."
$PYTHON -c "import app" 2>&1
if [ $? -eq 0 ]; then echo "✅ imports OK"; else echo "❌ import failed"; exit 1; fi