Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
parent
0b01f58531
commit
427132bd15
2 changed files with 24 additions and 22 deletions
24
.drone.yml
Normal file
24
.drone.yml
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: default
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Lint
|
||||||
|
image: koalaman/shellcheck-alpine:latest
|
||||||
|
commands:
|
||||||
|
- alias shellcheck="shellcheck -x --exclude=SC2034,SC1091,SC1090,SC2012"
|
||||||
|
- shellcheck ./system/.local/bin/*
|
||||||
|
- shellcheck ./system/.config/custom/keyleds
|
||||||
|
- shellcheck ./system/.config/custom/aliases
|
||||||
|
- shellcheck ./system/.config/custom/env
|
||||||
|
- shellcheck ./system/.config/polybar/scripts/update-count
|
||||||
|
- shellcheck ./system/.config/X11/xinitrc
|
||||||
|
- shellcheck ./system/.config/zsh/.zlogout
|
||||||
|
- shellcheck ./system/.config/zsh/.zprofile
|
||||||
|
- shellcheck ./system/.config/zsh/.zshrc
|
||||||
|
- shellcheck ./system/.config/X11/xsetup
|
||||||
|
- shellcheck ./install
|
||||||
|
- shellcheck ./.install/*.sh
|
||||||
|
- shellcheck ./.install/lib/*.sh
|
||||||
|
...
|
|
@ -1,22 +0,0 @@
|
||||||
stages:
|
|
||||||
- Lint
|
|
||||||
|
|
||||||
Lint:
|
|
||||||
image: koalaman/shellcheck-alpine:latest
|
|
||||||
stage: Lint
|
|
||||||
before_script:
|
|
||||||
- alias shellcheck="shellcheck -x --exclude=SC2034,SC1091,SC1090,SC2012"
|
|
||||||
script:
|
|
||||||
- shellcheck ./system/.local/bin/*
|
|
||||||
- shellcheck ./system/.config/custom/keyleds
|
|
||||||
- shellcheck ./system/.config/custom/aliases
|
|
||||||
- shellcheck ./system/.config/custom/env
|
|
||||||
- shellcheck ./system/.config/polybar/scripts/update-count
|
|
||||||
- shellcheck ./system/.config/X11/xinitrc
|
|
||||||
- shellcheck ./system/.config/zsh/.zlogout
|
|
||||||
- shellcheck ./system/.config/zsh/.zprofile
|
|
||||||
- shellcheck ./system/.config/zsh/.zshrc
|
|
||||||
- shellcheck ./system/.config/X11/xsetup
|
|
||||||
- shellcheck ./install
|
|
||||||
- shellcheck ./.install/*.sh
|
|
||||||
- shellcheck ./.install/lib/*.sh
|
|
Loading…
Add table
Add a link
Reference in a new issue