feat: sanity check

This commit is contained in:
Strix 2023-10-15 18:06:26 +02:00
parent 5b16ffb7b7
commit b456391e62
No known key found for this signature in database
GPG key ID: 49B2E37B8915B774

16
sanity_check.sh Normal file
View file

@ -0,0 +1,16 @@
#!/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