ghcup/.gitlab/before_script/linux/install_shellcheck.sh

12 lines
287 B
Bash
Raw Normal View History

2020-01-09 14:07:15 +00:00
#!/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