We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
forc init
test
When creating a new project called test with forc init test, forc doesn't complain. However, it complains when we try to build the project with:
forc init test
forc
Error: the name `test` cannot be used as a package name, it conflicts with Sway's built-in test library
I think forc init test should just error out.
The text was updated successfully, but these errors were encountered:
Do we want this to extend to containing test or only if it's exactly test?
Sorry, something went wrong.
Hmm whatever matches the behavior of forc build. Anything that forc build does not allow should not be allowed by forc init.
forc build
Gotcha, should we make this check for case sensitivity as well?
forc-init
proj-name
Depends on whether something like Test is allowed or not. Can we build a project whose name is Test?
Test
At this time, yes you can since it's only checking for "test"
eureka-cpu
Successfully merging a pull request may close this issue.
When creating a new project called
test
withforc init test
,forc
doesn't complain. However, it complains when we try to build the project with:I think
forc init test
should just error out.The text was updated successfully, but these errors were encountered: