Add ameba linter
This commit is contained in:
parent
e8f7453a8f
commit
a7249a875a
@ -1,3 +1,3 @@
|
||||
FROM alpine:edge as builder
|
||||
|
||||
RUN apk add -u crystal shards tzdata libc-dev
|
||||
RUN apk add -u make crystal shards tzdata libc-dev yaml-dev
|
||||
|
9
ameba
Executable file
9
ameba
Executable file
@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -eu
|
||||
|
||||
docker run -it \
|
||||
-u "$(id -u):$(id -g)" \
|
||||
-v "$PWD:/app" \
|
||||
-w "/app" \
|
||||
expansion-crystal ./bin/ameba "$@"
|
6
shard.lock
Normal file
6
shard.lock
Normal file
@ -0,0 +1,6 @@
|
||||
version: 1.0
|
||||
shards:
|
||||
ameba:
|
||||
github: crystal-ameba/ameba
|
||||
version: 0.10.1
|
||||
|
Loading…
Reference in New Issue
Block a user