Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,15 @@ Vous êtes un éditeur et vous souhaitez vous raccorder au Hub Santé -> rendez-

Vous êtes un développeur et vous voulez contribuez ou reproduire le Hub Santé -> rendez-vous sur la page développeur [`hub/`](hub/README.md)

### Git hooks

Des hooks Git sont définis pour simplifier le travail des dévelopeurs.

Pour les installer :

- Installer [lefthook](https://lefthook.dev/installation/index.html)
- Lancer à la racine du dépôt `lefthook install`

## 📚 Architecture
- [`clients/`](clients) contient l'implémentation de clients en Java, en consommation et en publication.
- Ce client Java nous permet de tester notre infrastructure et peut vous servir de base ou d'exemple pour votre implémentation
Expand Down
15 changes: 15 additions & 0 deletions lefthook.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
pre-commit:
parallel: true
commands:
lrm-client-lint-fix:
root: "web/lrm/client/"
run: npm run lintfix
stage_fixed: true
dispatcher-lint-fix:
root: "hub/dispatcher/"
run: ./gradlew spotlessApply
stage_fixed: true
dispatcher-license-format:
root: "hub/dispatcher/"
run: "./gradlew licenseFormat"
stage_fixed: true
9 changes: 0 additions & 9 deletions web/lrm/client/.husky/pre-commit

This file was deleted.

Loading
Loading