Add ameba linter

This commit is contained in:
Anton Vakhrushev 2019-10-14 18:03:48 +03:00
parent e8f7453a8f
commit a7249a875a
4 changed files with 21 additions and 1 deletions

View File

@ -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
View 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
View File

@ -0,0 +1,6 @@
version: 1.0
shards:
ameba:
github: crystal-ameba/ameba
version: 0.10.1

View File

@ -11,3 +11,8 @@ targets:
crystal: 0.31.0
license: MIT
development_dependencies:
ameba:
github: crystal-ameba/ameba
version: ~> 0.10.1