mirror of
https://github.com/juxt/allium.git
synced 2026-09-14 13:56:44 +08:00
be4abafc9f
Closes #30
8 lines
231 B
Bash
Executable File
8 lines
231 B
Bash
Executable File
#!/bin/sh
|
|
# Wrapper for Aider's --lint-cmd. Aider passes the file path as a CLI argument.
|
|
# Only run allium check on .allium files; exit 0 for everything else.
|
|
case "$1" in
|
|
*.allium) exec allium check "$1" ;;
|
|
*) exit 0 ;;
|
|
esac
|