Skip to content

Commit

Permalink
tests: adjust task test
Browse files Browse the repository at this point in the history
  • Loading branch information
sandydoo committed Nov 23, 2024
1 parent a6481c6 commit 0b6d9ee
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions tests/tasks/devenv.nix
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
{
tasks = {
"myapp:shell".exec = "touch shell";
"devenv:enterShell".after = [ "myapp:shell" ];
"myapp:test".exec = "touch test";
"myapp:shell" = {
exec = "touch shell";
before = [ "devenv:enterShell" ];
};

"myapp:test" = {
exec = "touch test";
};
# Test specifying "after"
"devenv:enterTest".after = [ "myapp:test" ];

"example:statusIgnored" = {
before = [ "devenv:enterTest" ];
exec = "touch ./should-not-exist";
Expand Down

0 comments on commit 0b6d9ee

Please sign in to comment.