Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(build): An error when running with --lint #1174

Merged
merged 1 commit into from
Jun 23, 2023

Conversation

jubnzv
Copy link
Member

@jubnzv jubnzv commented Jun 23, 2023

After this fix it is possible to run dylint with the linting library.

For example, to run the linter on the flipper contract we can use the following in the ink directory:

cd integration-tests/flipper/
DYLINT_LIBRARY_PATH="$(realpath ../../linting/target/debug)" cargo contract build --lint

It works, and we can test new lints using this.

Closes #1166

@ascjones ascjones merged commit e9bce2b into use-ink:master Jun 23, 2023
This was referenced Jul 26, 2023
@smiasojed smiasojed mentioned this pull request Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Executing cargo contract build --lint errors
2 participants