added no vcs to the new lib command

This commit is contained in:
ZennDev1337 2023-10-01 11:47:23 +02:00
parent b4ee5f56f9
commit 1ad7f0de2a
2 changed files with 3 additions and 2 deletions

1
.idea/vcs.xml generated
View file

@ -2,5 +2,6 @@
<project version="4"> <project version="4">
<component name="VcsDirectoryMappings"> <component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" /> <mapping directory="" vcs="Git" />
<mapping directory="$PROJECT_DIR$/Project/arduboy_fx" vcs="Git" />
</component> </component>
</project> </project>

View file

@ -192,7 +192,7 @@ In the root of the repo use the command:
(Don't use "-" in the name because of a cargo feature that takes the "-" and mixes sometimes with a "\_". You will have some weird behavior with the run tool.) (Don't use "-" in the name because of a cargo feature that takes the "-" and mixes sometimes with a "\_". You will have some weird behavior with the run tool.)
```bash ```bash
cargo new --lib ./Project/newproject cargo new --vcs=none --lib ./Project/newproject
``` ```
Then open the Cargo.toml in your new project and add the following dependencies and settings: Then open the Cargo.toml in your new project and add the following dependencies and settings:
@ -241,7 +241,7 @@ Now the last step. Go in the Cargo.toml in the root directory and add your proje
```toml ```toml
[workspace] [workspace]
members = [ members = [
{All other Projects...} #{All other Projects...}
"Project/newproject", "Project/newproject",
] ]
resolver = "2" resolver = "2"