mirror of
https://github.com/notohh/rustlings.git
synced 2024-10-30 08:49:12 -04:00
Remove state file and solutions dir from .gitignore
This commit is contained in:
parent
4933ace50b
commit
97719fe8da
3 changed files with 8 additions and 9 deletions
|
@ -1,6 +1,6 @@
|
||||||
<a name="6.1.1"></a>
|
<a name="6.2.0"></a>
|
||||||
|
|
||||||
## 6.1.1 (2024-08-08)
|
## 6.2.0 (2024-08-08)
|
||||||
|
|
||||||
It is recommended to update to this version to fix issues with the language server `rust-analyzer`.
|
It is recommended to update to this version to fix issues with the language server `rust-analyzer`.
|
||||||
You can update using the following two commands:
|
You can update using the following two commands:
|
||||||
|
@ -12,6 +12,7 @@ cargo install rustlings
|
||||||
|
|
||||||
- Fix `rust-analyzer` rebuilding all exercises after changing one file.
|
- Fix `rust-analyzer` rebuilding all exercises after changing one file.
|
||||||
- Show a helpful error message when trying to install Rustlings with a Rust version lower than the minimum one that Rustlings supports.
|
- Show a helpful error message when trying to install Rustlings with a Rust version lower than the minimum one that Rustlings supports.
|
||||||
|
- Remove the state file and the solutions directory from the generated `.gitignore` file.
|
||||||
- Run the final check of all exercises in parallel.
|
- Run the final check of all exercises in parallel.
|
||||||
- Small exercise improvements.
|
- Small exercise improvements.
|
||||||
- `dev check`: Check that all solutions are formatted with `rustfmt`.
|
- `dev check`: Check that all solutions are formatted with `rustfmt`.
|
||||||
|
|
|
@ -76,8 +76,8 @@ pub fn new(path: &Path, no_git: bool) -> Result<()> {
|
||||||
|
|
||||||
pub const GITIGNORE: &[u8] = b".rustlings-state.txt
|
pub const GITIGNORE: &[u8] = b".rustlings-state.txt
|
||||||
Cargo.lock
|
Cargo.lock
|
||||||
target
|
target/
|
||||||
.vscode
|
.vscode/
|
||||||
!.vscode/extensions.json
|
!.vscode/extensions.json
|
||||||
";
|
";
|
||||||
|
|
||||||
|
|
|
@ -92,11 +92,9 @@ const INIT_SOLUTION_FILE: &[u8] = b"fn main() {
|
||||||
}
|
}
|
||||||
";
|
";
|
||||||
|
|
||||||
const GITIGNORE: &[u8] = b".rustlings-state.txt
|
const GITIGNORE: &[u8] = b"Cargo.lock
|
||||||
solutions
|
target/
|
||||||
Cargo.lock
|
.vscode/
|
||||||
target
|
|
||||||
.vscode
|
|
||||||
";
|
";
|
||||||
|
|
||||||
pub const VS_CODE_EXTENSIONS_JSON: &[u8] = br#"{"recommendations":["rust-lang.rust-analyzer"]}"#;
|
pub const VS_CODE_EXTENSIONS_JSON: &[u8] = br#"{"recommendations":["rust-lang.rust-analyzer"]}"#;
|
||||||
|
|
Loading…
Reference in a new issue