Sha256: 8aab84cd7116445643891b31be27b1246fc8237a0da154bd83b9811afe0be986

Contents?: true

Size: 543 Bytes

Versions: 29

Compression:

Stored size: 543 Bytes

Contents

#!/bin/bash

set -eu

LINTJE_VERSION="0.6.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

29 entries across 29 versions & 2 rubygems

Version Path
commit_format-0.2.1 script/lint_git
commit_format-0.2.0 script/lint_git
appsignal-3.0.27-java script/lint_git
appsignal-3.0.27 script/lint_git
appsignal-3.0.26-java script/lint_git
appsignal-3.0.26 script/lint_git
appsignal-3.0.25-java script/lint_git
appsignal-3.0.25 script/lint_git
appsignal-3.0.24-java script/lint_git
appsignal-3.0.24 script/lint_git
appsignal-3.0.23-java script/lint_git
appsignal-3.0.23 script/lint_git
appsignal-3.0.22-java script/lint_git
appsignal-3.0.22 script/lint_git
appsignal-3.0.21-java script/lint_git
appsignal-3.0.21 script/lint_git
appsignal-3.0.21.alpha.1-java script/lint_git
appsignal-3.0.21.alpha.1 script/lint_git
commit_format-0.1.0 script/lint_git
appsignal-3.0.20-java script/lint_git