16 lines
465 B
Bash
Executable File
16 lines
465 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
cd /root/.openclaw/workspaces/yzr-yxl/projects/yu-zhi-ran
|
|
if [ "$1" == "publisher" ]; then
|
|
echo "=== Testing publisher ==="
|
|
python3 scripts/publisher.py
|
|
echo "=== Publisher exit code: $? ==="
|
|
elif [ "$1" == "creator" ]; then
|
|
echo "=== Testing creator ==="
|
|
python3 scripts/creator.py
|
|
echo "=== Creator exit code: $? ==="
|
|
else
|
|
echo "=== Testing collector ==="
|
|
python3 scripts/collector.py
|
|
echo "=== Collector exit code: $? ==="
|
|
fi |