Init plugin script

This commit is contained in:
decentral1se 2021-03-10 23:25:27 +01:00
parent 83b1c9c7fe
commit 2010737766
No known key found for this signature in database
GPG Key ID: 92DAD76BD9567B8A
3 changed files with 27 additions and 0 deletions

11
.drone.yml Normal file
View File

@ -0,0 +1,11 @@
---
kind: pipeline
name: linters
steps:
- name: run shellcheck
image: koalaman/shellcheck-alpine:v0.7.1
commands:
- shellcheck abra-hetzner
trigger:
branch:
- main

7
abra-hetzner Executable file
View File

@ -0,0 +1,7 @@
#!/usr/bin/env bash
main() {
echo "Hello, World!"
}
main

9
makefile Normal file
View File

@ -0,0 +1,9 @@
.PHONY: shellcheck
shellcheck:
@docker run \
-it \
--rm \
-v $$(pwd):/workdir \
koalaman/shellcheck-alpine \
shellcheck /workdir/abra-hetzner