mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-03 00:57:52 +02:00
The script expects a golangci-lint binary in .bin; this makes it possible to install the exact same version that also runs on CI.
13 lines
289 B
Bash
Executable File
13 lines
289 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
if [ ! -x ./.bin/golangci-lint ]; then
|
|
echo 'You need to install golangci-lint into .bin'
|
|
echo 'One way to do this is to run'
|
|
echo ' GOBIN=$(pwd)/.bin go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.2.1'
|
|
exit 1
|
|
fi
|
|
|
|
./.bin/golangci-lint run
|