16 lines
360 B
Bash
16 lines
360 B
Bash
|
#!/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
|