diff --git a/.gitattributes b/.gitattributes index 6aace1230..81cf2d828 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1 +1,2 @@ -legacy/* linguist-vendored \ No newline at end of file +legacy/* linguist-vendored +* text=lf diff --git a/README.md b/README.md index 8025bc7dd..da6f42311 100644 --- a/README.md +++ b/README.md @@ -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: