Removed debugging printing

This commit is contained in:
Morten Nygaard Åsnes 2017-10-10 20:53:16 +02:00
parent 92305de08b
commit 44b1cde071

View file

@ -1,27 +1,25 @@
#!/usr/bin/env bash #!/usr/bin/env bash
OS=$( OS=$(
case $(uname) in case $(uname) in
(Darwin*) (Darwin*)
echo "mac";; echo "mac";;
(Linux*) (Linux*)
echo "linux";; echo "linux";;
(Windows*) (Windows*)
echo "windows";; echo "windows";;
(MINGW*) (MINGW*)
echo "windows";; echo "windows";;
(*) (*)
echo "linux";; echo "linux";;
esac) esac)
if [ "$OS" == "windows" ]; then if [ "$OS" == "windows" ]; then
echo $URL URL=https://github.com/avh4/elm-format/releases/download/0.6.1-alpha/elm-format-0.18-0.6.1-alpha-win-i386.zip
URL=https://github.com/avh4/elm-format/releases/download/0.6.1-alpha/elm-format-0.18-0.6.1-alpha-win-i386.zip curl -L $URL | funzip > bin/elm-format
curl -L $URL | funzip > bin/elm-format else
else URL=https://github.com/avh4/elm-format/releases/download/0.6.1-alpha/elm-format-0.18-0.6.1-alpha-$OS-x64.tgz
echo $URL curl -L $URL | tar -xvzO > bin/elm-format
URL=https://github.com/avh4/elm-format/releases/download/0.6.1-alpha/elm-format-0.18-0.6.1-alpha-$OS-x64.tgz fi
curl -L $URL | tar -xvzO > bin/elm-format
fi chmod u+x bin/elm-format
chmod u+x bin/elm-format