mirror of
https://github.com/correl/elm.git
synced 2024-12-22 11:09:08 +00:00
Removed debugging printing
This commit is contained in:
parent
92305de08b
commit
44b1cde071
1 changed files with 25 additions and 27 deletions
|
@ -1,27 +1,25 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
OS=$(
|
||||
case $(uname) in
|
||||
(Darwin*)
|
||||
echo "mac";;
|
||||
(Linux*)
|
||||
echo "linux";;
|
||||
(Windows*)
|
||||
echo "windows";;
|
||||
(MINGW*)
|
||||
echo "windows";;
|
||||
(*)
|
||||
echo "linux";;
|
||||
esac)
|
||||
|
||||
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
|
||||
curl -L $URL | funzip > bin/elm-format
|
||||
else
|
||||
echo $URL
|
||||
URL=https://github.com/avh4/elm-format/releases/download/0.6.1-alpha/elm-format-0.18-0.6.1-alpha-$OS-x64.tgz
|
||||
curl -L $URL | tar -xvzO > bin/elm-format
|
||||
fi
|
||||
|
||||
chmod u+x bin/elm-format
|
||||
#!/usr/bin/env bash
|
||||
|
||||
OS=$(
|
||||
case $(uname) in
|
||||
(Darwin*)
|
||||
echo "mac";;
|
||||
(Linux*)
|
||||
echo "linux";;
|
||||
(Windows*)
|
||||
echo "windows";;
|
||||
(MINGW*)
|
||||
echo "windows";;
|
||||
(*)
|
||||
echo "linux";;
|
||||
esac)
|
||||
|
||||
if [ "$OS" == "windows" ]; then
|
||||
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
|
||||
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
|
||||
curl -L $URL | tar -xvzO > bin/elm-format
|
||||
fi
|
||||
|
||||
chmod u+x bin/elm-format
|
||||
|
|
Loading…
Reference in a new issue