Sha256: dab10766f66303940a17e885cded101aa341bfe0c49f5279348387fcb3fd45ee

Contents?: true

Size: 553 Bytes

Versions: 46

Compression:

Stored size: 553 Bytes

Contents

#!/bin/bash

set -eu

LINTJE_VERSION="0.7.1"

mkdir -p "$HOME/bin"
cache_key=v1-lintje-$LINTJE_VERSION
cache restore $cache_key

# File exists and is executable
if [ -x "$HOME/bin/lintje" ]; then
  echo "Restored Lintje $LINTJE_VERSION from cache"
else
  echo "Downloading Lintje $LINTJE_VERSION"
  curl -L \
    https://github.com/tombruijn/lintje/releases/download/v$LINTJE_VERSION/x86_64-unknown-linux-gnu.tar.gz | \
    tar -xz --directory "$HOME/bin"
  cache store $cache_key "$HOME/bin/lintje"
fi

"$HOME/bin/lintje" "$SEMAPHORE_GIT_COMMIT_RANGE"

Version data entries

46 entries across 46 versions & 1 rubygems

Version Path
appsignal-3.3.11-java script/lint_git
appsignal-3.3.11 script/lint_git
appsignal-3.4.0-java script/lint_git
appsignal-3.4.0 script/lint_git
appsignal-3.3.10-java script/lint_git
appsignal-3.3.10 script/lint_git
appsignal-3.3.9-java script/lint_git
appsignal-3.3.9 script/lint_git
appsignal-3.3.8-java script/lint_git
appsignal-3.3.8 script/lint_git
appsignal-3.3.7-java script/lint_git
appsignal-3.3.7 script/lint_git
appsignal-3.3.6-java script/lint_git
appsignal-3.3.6 script/lint_git
appsignal-3.3.5-java script/lint_git
appsignal-3.3.5 script/lint_git
appsignal-3.3.4-java script/lint_git
appsignal-3.3.4 script/lint_git
appsignal-3.3.3-java script/lint_git
appsignal-3.3.3 script/lint_git