Commit 579ef0a8 authored by Felix Delattre's avatar Felix Delattre
Browse files

Added CI for shell script

parent ff938691
Pipeline #19212 failed with stage
in 1 minute
image: debian:bullseye-slim
before_script:
- apt update -y
- apt install -y git make shellcheck golang-go
- go get -u github.com/mvdan/sh/cmd/shfmt
- goenv global 1.15.7
- goenv rehash
linters:
script:
- make check
SOURCES=./files/start.sh
LENGTH=96
check: $(SOURCES)
shellcheck $^
shfmt -i 2 -d $^
format: $(SOURCES)
shfmt -i 2 -w $^
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment