Skip to content
This repository was archived by the owner on Apr 23, 2021. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ mono:
solution: Square.Connect.sln

install:
- wget -nc https://nuget.org/nuget.exe;
- wget -nc https://dist.nuget.org/win-x86-commandline/latest/nuget.exe;
- openssl aes-256-cbc -K $encrypted_71f1b33fe68c_key -iv $encrypted_71f1b33fe68c_iv -in ./travis-ci/accounts.enc -out ./travis-ci/accounts.json -d

script:
Expand Down
2 changes: 1 addition & 1 deletion build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

SET CSCPATH=%SYSTEMROOT%\Microsoft.NET\Framework\v4.0.30319

if not exist ".\nuget.exe" powershell -Command "(new-object System.Net.WebClient).DownloadFile('https://nuget.org/nuget.exe', '.\nuget.exe')"
if not exist ".\nuget.exe" powershell -Command "(new-object System.Net.WebClient).DownloadFile('https://dist.nuget.org/win-x86-commandline/latest/nuget.exe', '.\nuget.exe')"
.\nuget.exe install src\Square.Connect\packages.config -o packages

if not exist ".\bin" mkdir bin
Expand Down
6 changes: 3 additions & 3 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ then
echo "wget is either not installed on thie system or is"\
"unavailable through the \$PATH."
while true; do
printf "Install it by [ curl -sSL https://nuget.org/nuget.exe ]? [y/N] "
printf "Install it by [ curl -sSL https://dist.nuget.org/win-x86-commandline/latest/nuget.exe ]? [y/N] "
read -r yn
case "$yn" in
[Yy]* ) break;;
[Nn]* ) exit;;
'' ) exit;;
esac
done
curl -sSL https://nuget.org/nuget.exe -o nuget.exe;
curl -sSL https://dist.nuget.org/win-x86-commandline/latest/nuget.exe -o nuget.exe;
else
wget -nc https://nuget.org/nuget.exe;
wget -nc https://dist.nuget.org/win-x86-commandline/latest/nuget.exe;
fi

mozroots --import --sync
Expand Down