forked from use-ink/cargo-contract
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ink! linting MVP stage (use-ink#431)
* Add ink! linting MVP stage * CI: cache cargo installations; update versions * Apply suggestions from code review Co-authored-by: Sergejs Kostjucenko <85877331+sergejparity@users.noreply.github.com> * Update changelog * Check if `dylint` requirements are installed * Make `clippy` happy * Make tests happy * Make `LICENSE` symlink * Make error handling and panic's consistent * Improve code structure * Remove unneeded `--workspace` * Fix `mapping-two-constructor` test file * Simplify `Option<Vec<_>>` to `Vec` * Generalize unsetting of env variables in `invoke_cargo` * Move special case of `dylint` verbosity to call site * Keep calm and return an `Err` * Move checking for `dylint-link` to `build.rs` * Add `ink_linting/Cargo.lock` * Move `bool_to_exit_code` inline * Add test for non-fully-qualified path call of `initialize_contract` * Fix panic when no manifest path was supplied * Improve structure of `build.rs` * Make linting error message non-blaming * Remove incorrect note on not detecting indirections * Make `clippy` happy * Impprove text * Build `ink_linting` with `--locked` * Fix path separators for Windows CI * Revert "Fix path separators for Windows CI" This reverts commit b599831. * Revert me: Debug failing Windows CI * Revert me: Debug failing Windows CI * Revert me: Debug failing Windows CI * Revert me: Debug failing Windows CI * Revert me: Debug failing Windows CI * Revert me: Debug failing Windows CI * Revert me: Debug failing Windows CI * Use `which` for detecting `dylint-link` installation * Remove `DYLINT_DRIVER_PATH` * Add `--lib` * Revert "Remove `DYLINT_DRIVER_PATH`" This reverts commit d0d209f. * Use temporary `DYLINT_DRIVER_PATH` path during tests * Give `template` variable a speaking name Co-authored-by: CI system <> Co-authored-by: Sergejs Kostjucenko <85877331+sergejparity@users.noreply.github.com>
- Loading branch information
1 parent
30387a5
commit 836acbf
Showing
35 changed files
with
3,137 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.