mirror of
https://github.com/hkalexling/Mango.git
synced 2026-01-24 00:03:14 -05:00
Use Ameba
This commit is contained in:
9
.ameba.yml
Normal file
9
.ameba.yml
Normal file
@@ -0,0 +1,9 @@
|
||||
Lint/UselessAssign:
|
||||
Excluded:
|
||||
- src/routes/*
|
||||
- src/server.cr
|
||||
Lint/UnusedArgument:
|
||||
Excluded:
|
||||
- src/routes/*
|
||||
Metrics/CyclomaticComplexity:
|
||||
Enabled: false
|
||||
3
Makefile
3
Makefile
@@ -22,6 +22,9 @@ run:
|
||||
test:
|
||||
crystal spec
|
||||
|
||||
check:
|
||||
crystal tool format --check && ./bin/ameba
|
||||
|
||||
install:
|
||||
cp mango $(INSTALL_DIR)/mango
|
||||
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
version: 1.0
|
||||
shards:
|
||||
ameba:
|
||||
github: crystal-ameba/ameba
|
||||
version: 0.12.0
|
||||
|
||||
baked_file_system:
|
||||
github: schovi/baked_file_system
|
||||
version: 0.9.8
|
||||
|
||||
Reference in New Issue
Block a user