summaryrefslogtreecommitdiff
path: root/test/command_callback/test_cargo_command_callbacks.vader
AgeCommit message (Collapse)Author
2021-03-21#3633 - Move linter tests into test/linterw0rp
2021-03-20#3633 - Put all dummy test files in test/test-filesw0rp
2021-03-01Close #2281 - Separate cwd commands from commandsw0rp
Working directories are now set seperately from the commands so they can later be swapped out when running linters over projects is supported, and also better support filename mapping for running linters on other machines in future.
2020-08-13rust/cargo: add support for a custom target directoryBen Boeckel
This can avoid having to wait for ALE or ALE being blocked on other cargo actions within the same crate.
2019-06-25support all cargo options for build/clippyJean Mertz
2019-06-24support clippy options with --Jean Mertz
2019-04-07#2132 - Replace command_chain and chain_with with ale#command#Runw0rp
2018-10-22Add support for `cargo clippy` (#2001)Linda_pp
* Add support for `cargo clippy` * Add tests for cargo-clippy support * Add an example to doc for how to configure ale_rust_cargo_use_clippy
2018-07-15Massively reduce the amount of code needed for linter testsw0rp
2018-06-27Rust Cargo linter: Improve workspace support (#1679)Dan Aloni
* Rust Cargo linter: Improve workspace support When using Cargo workspaces [1], there is a 'Cargo.toml' directory in a top level directory, listing all the crates in the project. If we are currently editing one of the crates, 'cargo build' should execute in that directory for that crate's separate `Cargo.toml`, otherwise Cargo may spend more time possibly rebuilding the entire workspace, and maybe failing on one of the other crates, instead of succeeding on the current. [1] https://doc.rust-lang.org/book/second-edition/ch14-03-cargo-workspaces.html
2018-06-04Allow linting rust tests and examples with cargoMichał Budzyński
2018-01-11Teach ALE about cargo features and add some configuration optionsIvan Petkov
* When working on rust/cargo projects of varying sizes, it may be useful to either build all possible features (i.e. lint all possible conditionally compiled code), or even turn off other features for a quicker edit-lint cycle (e.g. for large projects with large build times) * Added a g:ale_rust_cargo_default_feature_behavior flag for instructing cargo to not build any features at all (via `--no-default-features`), building default features (via no extra flags), or building all possible features (via `--all-features`) * Also added a g:ale_rust_cargo_include_features flag for including arbitrary features to be checked by cargo. When coupled with g:ale_rust_cargo_default_feature_behavior this allows for full customization of what features are checked and which ones are ignored
2017-12-07Fix #1202 - Do not use --all-targets by default, because it doesn't work ↵w0rp
some of the time.
2017-11-09Simplfy semver handling and share the semver version cache across everythingw0rp
2017-11-05Fix #626 - Automatically use `cargo check` and `cargo check --all-targets` ↵w0rp
for cargo versions that are new enough