Skip to content

Compile dylints when compiling the contract - #703

Merged
athei merged 3 commits into
masterfrom
at/dylint
Aug 24, 2022
Merged

Compile dylints when compiling the contract#703
athei merged 3 commits into
masterfrom
at/dylint

Conversation

@athei

@athei athei commented Aug 23, 2022

Copy link
Copy Markdown
Contributor

This removes the brittle setup of compiling the dylints within our build.rs file. Instead, it patches the contracts manifest to run the dylint. The dylint itself will live inside the ink! repository and is downloaded from there. The build is quick and cached within the target directory as all other artifacts.

Future Work

We don't want to pull the lint from master but rather from a tag that corresponds to the used ink! version. However, we don't wait for this because that is only possible once the next ink! version is released.

@ascjones ascjones left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

Comment thread src/workspace/manifest.rs Outdated
Comment thread src/cmd/build.rs
@athei
athei marked this pull request as ready for review August 24, 2022 09:12
@athei
athei requested review from a team, HCastano and cmichi as code owners August 24, 2022 09:12
@athei
athei merged commit 59247ac into master Aug 24, 2022
@athei
athei deleted the at/dylint branch August 24, 2022 09:13
cmichi added a commit to paritytech/scripts that referenced this pull request Aug 24, 2022
cmichi added a commit to paritytech/scripts that referenced this pull request Aug 24, 2022
@ascjones ascjones mentioned this pull request Feb 14, 2023
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.

2 participants