Sha256: f5ad399d025bd7c7965ffc85f14fe8042baf642714b28a123ab9ad5e521858c5

Contents?: true

Size: 640 Bytes

Versions: 22336

Compression:

Stored size: 640 Bytes

Contents

#!/bin/bash

LATEST=https://github.com/exercism/configlet/releases/latest

OS=$(
case $(uname) in
    (Darwin*)
        echo "mac";;
    (Linux*)
        echo "linux";;
    (Windows*)
        echo "windows";;
    (*)
        echo "linux";;
esac)

ARCH=$(
case $(uname -m) in
    (*64*)
        echo 64bit;;
    (*686*)
        echo 32bit;;
    (*386*)
        echo 32bit;;
    (*)
        echo 64bit;;
esac)

VERSION="$(curl --head --silent $LATEST | awk -v FS=/ '/Location:/{print $NF}' | tr -d '\r')"
URL=https://github.com/exercism/configlet/releases/download/$VERSION/configlet-$OS-${ARCH}.tgz

curl -s --location $URL | tar xz -C bin/

Version data entries

22,336 entries across 396 versions & 1 rubygems

Version Path
trackler-2.2.1.180 tracks/d/bin/fetch-configlet
trackler-2.2.1.180 tracks/erlang/bin/fetch-configlet
trackler-2.2.1.180 tracks/common-lisp/bin/fetch-configlet
trackler-2.2.1.180 tracks/csharp/bin/fetch-configlet
trackler-2.2.1.180 tracks/ecmascript/bin/fetch-configlet
trackler-2.2.1.180 tracks/elm/bin/fetch-configlet
trackler-2.2.1.180 tracks/ceylon/bin/fetch-configlet
trackler-2.2.1.180 tracks/coffeescript/bin/fetch-configlet
trackler-2.2.1.180 tracks/cpp/bin/fetch-configlet
trackler-2.2.1.180 tracks/crystal/bin/fetch-configlet
trackler-2.2.1.180 tracks/dart/bin/fetch-configlet
trackler-2.2.1.180 tracks/delphi/bin/fetch-configlet
trackler-2.2.1.180 tracks/elisp/bin/fetch-configlet
trackler-2.2.1.180 tracks/elixir/bin/fetch-configlet
trackler-2.2.1.180 tracks/ballerina/bin/fetch-configlet
trackler-2.2.1.180 tracks/c/bin/fetch-configlet
trackler-2.2.1.180 tracks/cfml/bin/fetch-configlet
trackler-2.2.1.180 tracks/clojure/bin/fetch-configlet
trackler-2.2.1.180 tracks/coq/bin/fetch-configlet
trackler-2.2.1.180 tracks/factor/bin/fetch-configlet