Skip to content

Commit

Permalink
test: Test the option
Browse files Browse the repository at this point in the history
  • Loading branch information
akirak committed Nov 25, 2023
1 parent 986b4f0 commit 29b3ea6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/justfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ local-lock-2:
-- ./lock2
[[ -d lock2 ]]
[[ -f lock2/flake.lock ]]
[[ -f lock-success ]]
nix run .\#emacs.generateLockDir --impure \
--override-input twist "path:$(readlink -f ..)" \
-- --force ./lock2
Expand All @@ -23,6 +24,7 @@ local-lock-2:
-- --force --no-update-flake-lock ./lock2
rm -r ./lock2
git rm -r --cached ./lock2
rm lock-success

# Used for CI.
local-update-flake:
Expand Down
4 changes: 4 additions & 0 deletions test/twist.nix
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,8 @@ emacsTwist {
];
};
};
postCommandOnGeneratingLockDir = ''
cd ..
touch lock-success
'';
}

0 comments on commit 29b3ea6

Please sign in to comment.