Added comment to README.md regarding Windows and updated .gitattributes to enforce LF

This commit is contained in:
Cyle Witruk
2022-11-15 10:12:09 +01:00
parent e72c264312
commit 4cd7a5a7f2
2 changed files with 5 additions and 2 deletions

3
.gitattributes vendored
View File

@@ -1 +1,2 @@
legacy/* linguist-vendored
legacy/* linguist-vendored
* text=lf

View File

@@ -85,7 +85,7 @@ The first step is to ensure that you have Rust and the support software installe
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
```
_For building on Windows, follow the rustup installer instructions at https://rustup.rs/_
_For building on Windows, follow the rustup installer instructions at https://rustup.rs/._
From there, you can clone this repository:
@@ -107,6 +107,8 @@ Run the tests:
cargo test testnet -- --test-threads=1
```
_On Windows, many tests will fail if the line endings aren't `LF`. Please ensure that you are have git's `core.autocrlf` set to `input` when you check out the repository to avoid any potential issues._
### Encode and sign transactions
Here, we have generated a keypair that will be used for signing the upcoming transactions: