Run tests when building the nix package
This commit is contained in:
parent
144ef949cf
commit
c04ccf4974
3 changed files with 55 additions and 5 deletions
|
|
@ -14,11 +14,7 @@
|
|||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
in
|
||||
{
|
||||
packages.default = pkgs.writeShellApplication {
|
||||
name = "git-check-assertions";
|
||||
runtimeInputs = [ pkgs.git ];
|
||||
text = builtins.readFile ./git-check-assertions;
|
||||
};
|
||||
packages.default = pkgs.callPackage ./default.nix { };
|
||||
devShells.default = pkgs.mkShell {
|
||||
packages = with pkgs; [ bats ];
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue