domo/sanity_check.sh

16 lines
360 B
Bash
Raw Normal View History

2023-10-15 18:06:26 +02:00
#!/bin/sh
cd domo_proto
if cargo test &> /dev/null; then
echo "proto build is ok; you're fiiiine"
else
echo "proto build failed; haaha, nothing works, it's not fine"
exit 1
fi
cd ../domo_node
if cargo build &> /dev/null; then
echo "node build is ok; totally fine"
else
echo "node build failed but imagine if it worked though, hahahahaha"
exit 1
fi