fail the whole script when nuget fails
This commit is contained in:
4
thirdparty/fetch-thirdparty-deps.sh
vendored
4
thirdparty/fetch-thirdparty-deps.sh
vendored
@@ -1,4 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Die on any error for Travis CI to automatically retry:
|
||||||
|
set -e
|
||||||
|
|
||||||
if [ ! -f StyleCop.dll ]; then
|
if [ ! -f StyleCop.dll ]; then
|
||||||
echo "Fetching StyleCop files from nuget"
|
echo "Fetching StyleCop files from nuget"
|
||||||
nuget install StyleCop.MSBuild -Version 4.7.49.0
|
nuget install StyleCop.MSBuild -Version 4.7.49.0
|
||||||
|
|||||||
Reference in New Issue
Block a user