feat: sanity check
This commit is contained in:
parent
5b16ffb7b7
commit
b456391e62
1 changed files with 16 additions and 0 deletions
16
sanity_check.sh
Normal file
16
sanity_check.sh
Normal 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
|
Loading…
Reference in a new issue