mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 09:17:43 +03:00
ca1453ee8c
* Add `pre-commit` tool to dev-env * Add pre-commit configuration Fixes #15522 * Install pre-commit hooks inside the nix shell * Limit buildifier hook to files to be comitted The `:buildifier-fix` tool always runs on all Bazel files (by calling `find`), which is not useful when using pre-commit. * Install pre-commit hook only when `DADE_NO_PRE_COMMIT` is unset Since direnv does not execute the shellHook, install in `.envrc` too. |
||
---|---|---|
.. | ||
certs | ||
nixpkgs | ||
overrides | ||
tools | ||
bazel-cc-toolchain.nix | ||
bazel-cc-wrapper-response-file.patch | ||
bazel-go-toolchain.nix | ||
bazel-retry-cache.patch | ||
bazel.nix | ||
BUILD.bazel | ||
default.nix | ||
nixpkgs.nix | ||
repositories.bzl | ||
system.nix |