You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: improve copilot instructions with accurate commands and comprehensive coverage
- Fix incorrect E2E test commands (cargo e2e-provision -> cargo run --bin e2e-provision-tests)
- Update tech stack to include all linting tools (markdownlint, yamllint, shellcheck, clippy, rustfmt, taplo)
- Add comprehensive directory structure with data/templates/, examples/, fixtures/, packages/
- Include key configuration files section (.markdownlint.json, .yamllint-ci.yml, .taplo.toml, etc.)
- Standardize on 'cargo run --bin linter all' as primary linting command
- Emphasize cargo machete as MANDATORY before commits
- Add individual linter options and clarify script vs binary relationship
- Update virtualization providers to be more specific about LXD VM instances
- Enhance build & test section with unified and individual E2E test commands
@@ -31,14 +44,10 @@ This is a deployment infrastructure proof-of-concept for the Torrust ecosystem.
31
44
3.**Before committing**: Always run these verifications - all must pass before staging files or creating commits, regardless of the tool or method used:
32
45
33
46
```bash
34
-
# Run cargo machete
35
-
cargo machete
36
-
# Run linters
37
-
./scripts/lint.sh
38
-
# Run tests
39
-
cargo test
40
-
# Run e2e tests
41
-
cargo run --bin e2e-tests
47
+
cargo machete # Run cargo machete (MANDATORY - no unused dependencies)
48
+
cargo run --bin linter all # Run linters (comprehensive - stable & nightly toolchains)
49
+
cargo test# Run tests
50
+
cargo run --bin e2e-tests # Run e2e tests
42
51
```
43
52
44
53
This applies to **any** method of committing:
@@ -51,11 +60,15 @@ This is a deployment infrastructure proof-of-concept for the Torrust ecosystem.
0 commit comments