Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

feat: add ArtifactId::identifier() #1087

Merged
merged 3 commits into from
Mar 28, 2022

Conversation

onbjerg
Copy link
Collaborator

@onbjerg onbjerg commented Mar 28, 2022

Motivation

See foundry-rs/foundry#1062

Solution

Adds ArtifactId::identifier which returns a unique identifier for each artifact in the form <source path>:<name> e.g. src/test/MyTest.t.sol:MyTest

PR Checklist

  • Added Tests
  • Added Documentation
  • Updated the changelog

@gakonst gakonst merged commit 7842a70 into gakonst:master Mar 28, 2022
@onbjerg onbjerg deleted the onbjerg/artifact-identifier branch March 28, 2022 16:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants