You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, nargo has hardcoded logic to search for a lib.nr or main.nr file to determine a CrateType. Since the CrateType will be specified in Nargo.toml with #2073, we can decouple the paths and allow them to be configured via Nargo.toml with defaults for lib.nr or main.nr if not specified.
Happy Case
A user can override the path to their entry point file, whether it is a lib, bin, or contract.
Alternatives Considered
No response
Additional Context
No response
Would you like to submit a PR for this Issue?
Yes
Support Needs
No response
The text was updated successfully, but these errors were encountered:
Problem
Currently, nargo has hardcoded logic to search for a
lib.nr
ormain.nr
file to determine a CrateType. Since the CrateType will be specified in Nargo.toml with #2073, we can decouple the paths and allow them to be configured via Nargo.toml with defaults forlib.nr
ormain.nr
if not specified.Happy Case
A user can override the path to their entry point file, whether it is a lib, bin, or contract.
Alternatives Considered
No response
Additional Context
No response
Would you like to submit a PR for this Issue?
Yes
Support Needs
No response
The text was updated successfully, but these errors were encountered: