Check that Rust project exists (#4393)
This commit is contained in:
parent
eef2bdf690
commit
c121498b5b
|
@ -4,7 +4,7 @@ if [ "$#" -ne 1 ]; then
|
|||
echo "Error: Must provide the full path to the project to build"
|
||||
exit 1
|
||||
fi
|
||||
if [ ! -d "$1" ]; then
|
||||
if [ ! -f "$1/Cargo.toml" ]; then
|
||||
echo "Error: Cannot find project: $1"
|
||||
exit 1
|
||||
fi
|
||||
|
|
|
@ -4,7 +4,7 @@ if [ "$#" -ne 1 ]; then
|
|||
echo "Error: Must provide the full path to the project to build"
|
||||
exit 1
|
||||
fi
|
||||
if [ ! -d "$1" ]; then
|
||||
if [ ! -f "$1/Cargo.toml" ]; then
|
||||
echo "Error: Cannot find project: $1"
|
||||
exit 1
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue