ghcup/.gitlab/before_script/linux/install_shellcheck.sh
2020-01-09 16:25:21 +01:00

12 lines
287 B
Bash
Executable File

#!/bin/sh
set -eux
# install shellcheck
wget https://storage.googleapis.com/shellcheck/shellcheck-latest.linux.x86_64.tar.xz
tar -xJf shellcheck-latest.linux.x86_64.tar.xz
mkdir -p "$CI_PROJECT_DIR"/.local/bin/
mv shellcheck-latest/shellcheck "$CI_PROJECT_DIR"/.local/bin/shellcheck