mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-25 14:57:32 -05: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`.
|
||||
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.
|
||||
- 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.
|
||||
- Small exercise improvements.
|
||||
- `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
|
||||
Cargo.lock
|
||||
target
|
||||
.vscode
|
||||
target/
|
||||
.vscode/
|
||||
!.vscode/extensions.json
|
||||
";
|
||||
|
||||
|
|
|
@ -92,11 +92,9 @@ const INIT_SOLUTION_FILE: &[u8] = b"fn main() {
|
|||
}
|
||||
";
|
||||
|
||||
const GITIGNORE: &[u8] = b".rustlings-state.txt
|
||||
solutions
|
||||
Cargo.lock
|
||||
target
|
||||
.vscode
|
||||
const GITIGNORE: &[u8] = b"Cargo.lock
|
||||
target/
|
||||
.vscode/
|
||||
";
|
||||
|
||||
pub const VS_CODE_EXTENSIONS_JSON: &[u8] = br#"{"recommendations":["rust-lang.rust-analyzer"]}"#;
|
||||
|
|
Loading…
Reference in a new issue