diff --git a/melos.yaml b/melos.yaml index 0677f0fa5..be7393d0e 100644 --- a/melos.yaml +++ b/melos.yaml @@ -59,4 +59,10 @@ scripts: description: Run Flutter tests for a specific package in this project. select-package: flutter: true - dir-exists: test \ No newline at end of file + dir-exists: test + +command: + version: + hooks: + preCommit: | + melos exec --fail-fast --scope="ndk" -- "dart run build_runner build --delete-conflicting-outputs" \ No newline at end of file