From b9b645313a5f6fb6af16c6a3888c47dab06613d0 Mon Sep 17 00:00:00 2001 From: Hugo Trentesaux <hugo@trentesaux.fr> Date: Wed, 8 Jun 2022 23:27:10 +0200 Subject: [PATCH] fix(doc): replace duniter typescript by rust --- .github/PULL_REQUEST_TEMPLATE.md | 2 +- .vscode/settings.json | 12 ++++-------- CONTRIBUTING.md | 4 +++- xtask/Cargo.toml | 2 +- 4 files changed, 9 insertions(+), 11 deletions(-) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 5a019dd9f..774a5cab9 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,4 +1,4 @@ -This project is tracked on our hosted gitlab server at: https://git.duniter.org/nodes/typescript/duniter/gitlab +This project is tracked on our hosted gitlab server at: https://git.duniter.org/nodes/rust/duniter-v2s The current github repository is a simple clone taken up to date at each push on the main gitlab repository. diff --git a/.vscode/settings.json b/.vscode/settings.json index bde30ef40..fe6423f76 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,15 +1,11 @@ { "editor.formatOnSave": true, - "editor.rulers": [100], - "[typescript]": { - "editor.defaultFormatter": "esbenp.prettier-vscode" - }, + "editor.rulers": [ + 100 + ], "[json]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, - "[javascript]": { - "editor.defaultFormatter": "esbenp.prettier-vscode" - }, "[yaml]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, @@ -19,4 +15,4 @@ "port_rpc": 19932, "port_ws": 19933 } -} +} \ No newline at end of file diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 3c3134ec2..7f2fc29bb 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -31,7 +31,9 @@ Please read [Developer documentation] before contribute. 2. Ensure that you respect the [commit naming conventions]. -3. Ensure that all automated tests pass with the `npm test` command. +3. Ensure that all automated tests pass with the `cargo test` command. + +3. Ensure that the code is well formated `cargo fmt` and comply with the good practices `cargo clippy`. If you have been working on tests, check everything with `cargo clippy --all --tests`. 4. Update the documentation with details of changes to the interface, this includes new environment variables, exposed ports, useful file locations and container parameters. diff --git a/xtask/Cargo.toml b/xtask/Cargo.toml index 86498acee..cb1e389cb 100644 --- a/xtask/Cargo.toml +++ b/xtask/Cargo.toml @@ -4,7 +4,7 @@ description = "Duniter-v2s xtask" edition = "2018" license = "AGPL-3.0" name = "xtask" -repository = "https://git.duniter.org/nodes/typescript/duniter" +repository = "https://git.duniter.org/nodes/rust/duniter-v2s" version = "0.1.0" [[bin]] -- GitLab