Add support for Scarb in cairo files (#4669)

* Add support for Scarb in `cairo` files
* specify if linter should run on saved
This commit is contained in:
MD
2023-12-08 19:13:37 -03:00
committed by GitHub
parent 32ee7039d0
commit 71718722b2
7 changed files with 110 additions and 0 deletions

View File

@@ -2,6 +2,19 @@
ALE Cairo Integration *ale-cairo-options*
===============================================================================
scarb *ale-cairo-scarb*
g:ale_cairo_scarb_executable *g:ale_cairo_scarb_executable*
*b:ale_cairo_scarb_executable*
Default: `'scarb build'`
For Cairo1 projects using Scarb
For more information read 'https://docs.swmansion.com/scarb/'
===============================================================================
starknet *ale-cairo-starknet*
@@ -13,3 +26,5 @@ g:ale_cairo_starknet_executable *g:ale_cairo_starknet_executable*
Overrides the starknet-compile binary after installing the cairo-language.
For more information read 'https://starknet.io/docs/quickstart.html'
===============================================================================

View File

@@ -102,6 +102,7 @@ Notes:
* `gcc` (`cc`)
* `uncrustify`
* Cairo
* `scarb`!!
* `starknet`
* Chef
* `cookstyle`

View File

@@ -2928,6 +2928,7 @@ documented in additional help files.
flawfinder............................|ale-c-flawfinder|
uncrustify............................|ale-c-uncrustify|
cairo...................................|ale-cairo-options|
scarb.................................|ale-cairo-scarb|
starknet..............................|ale-cairo-starknet|
chef....................................|ale-chef-options|
cookstyle.............................|ale-chef-cookstyle|