Skip to content

Commit

Permalink
Fix the way headache is used (#168)
Browse files Browse the repository at this point in the history
  • Loading branch information
Niols authored May 10, 2023
1 parent 8e75944 commit 4ba8b68
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,4 @@ publish-docker-image: docker-image
docker image push colisanr/morbig:latest

headers:
headache -h .header $(shell find src/ -regex '.*\.ml[ily]?')
headache -h .header $(shell find src/ tests/ -regex '.*\.ml[ily]?')
6 changes: 5 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,11 @@
packages.default = self'.packages.with-nixpkgs;

devShells.default = pkgs.mkShell {
buildInputs = with pkgs.ocamlPackages; [ ocaml-lsp ocp-indent ];
buildInputs = with pkgs.ocamlPackages; [
ocaml-lsp
ocp-indent
headache
];
inputsFrom = [ self'.packages.default ];
shellHook = config.pre-commit.installationScript;
};
Expand Down

0 comments on commit 4ba8b68

Please sign in to comment.