mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
flake/devshell: add test-lib
command + improve checks
This commit is contained in:
parent
662a0e1bdb
commit
714aa7bb18
1 changed files with 14 additions and 1 deletions
|
@ -22,7 +22,11 @@
|
|||
{
|
||||
name = "checks";
|
||||
help = "Run all nixvim checks";
|
||||
command = "nix flake check";
|
||||
command = ''
|
||||
echo "=> Running all nixvim checks..."
|
||||
|
||||
${nix} flake check "$@"
|
||||
'';
|
||||
}
|
||||
{
|
||||
name = "tests";
|
||||
|
@ -33,6 +37,15 @@
|
|||
${nix} build .#checks.${system}.tests "$@"
|
||||
'';
|
||||
}
|
||||
{
|
||||
name = "test-lib";
|
||||
help = "Run nixvim library tests";
|
||||
command = ''
|
||||
echo "=> Running nixvim library tests for the '${system}' architecture..."
|
||||
|
||||
${nix} build .#checks.${system}.lib-tests "$@"
|
||||
'';
|
||||
}
|
||||
{
|
||||
name = "format";
|
||||
help = "Format the entire codebase";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue