mirror of
https://github.com/AppFlowy-IO/AppFlowy-Cloud.git
synced 2025-04-19 03:24:42 -04:00
17 lines
413 B
Bash
Executable file
17 lines
413 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# Generate the current dependency list
|
|
cargo tree > current_deps.txt
|
|
|
|
BASELINE_COUNT=747
|
|
CURRENT_COUNT=$(cat current_deps.txt | wc -l)
|
|
|
|
echo "Expected dependency count (baseline): $BASELINE_COUNT"
|
|
echo "Current dependency count: $CURRENT_COUNT"
|
|
|
|
if [ "$CURRENT_COUNT" -gt "$BASELINE_COUNT" ]; then
|
|
echo "Dependency count has increased!"
|
|
exit 1
|
|
else
|
|
echo "No increase in dependencies."
|
|
fi
|