mirror of
https://github.com/hkalexling/Mango.git
synced 2026-01-25 00:00:36 -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:
|
test:
|
||||||
crystal spec
|
crystal spec
|
||||||
|
|
||||||
|
check:
|
||||||
|
crystal tool format --check && ./bin/ameba
|
||||||
|
|
||||||
install:
|
install:
|
||||||
cp mango $(INSTALL_DIR)/mango
|
cp mango $(INSTALL_DIR)/mango
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,9 @@
|
|||||||
version: 1.0
|
version: 1.0
|
||||||
shards:
|
shards:
|
||||||
|
ameba:
|
||||||
|
github: crystal-ameba/ameba
|
||||||
|
version: 0.12.0
|
||||||
|
|
||||||
baked_file_system:
|
baked_file_system:
|
||||||
github: schovi/baked_file_system
|
github: schovi/baked_file_system
|
||||||
version: 0.9.8
|
version: 0.9.8
|
||||||
|
|||||||
Reference in New Issue
Block a user