mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-24 04:36:22 +00:00
feat: correr rubocop y haml-lint sobre los archivos
This commit is contained in:
parent
9ce510223e
commit
6efae5f8f0
1 changed files with 12 additions and 0 deletions
|
@ -183,3 +183,15 @@ tasks:
|
|||
- "{{.HAINISH}} gem install bundler-audit"
|
||||
status:
|
||||
- "test -f ../hain/usr/bin/bundler-audit"
|
||||
rubocop:
|
||||
desc: "Ruby linting. Call with: go-task rubocop -- -A file.rb"
|
||||
cmds:
|
||||
- task: "bundle"
|
||||
vars:
|
||||
CLI_ARGS: "exec rubocop {{.CLI_ARGS}}"
|
||||
haml-lint:
|
||||
desc: "HAML linting. Call with: go-task haml-lint -- file.haml"
|
||||
cmds:
|
||||
- task: "bundle"
|
||||
vars:
|
||||
CLI_ARGS: "exec haml-lint {{.CLI_ARGS}}"
|
||||
|
|
Loading…
Reference in a new issue