Skip to content

Commit

Permalink
chore(cli): up is now up switch
Browse files Browse the repository at this point in the history
  • Loading branch information
z0al committed Dec 26, 2023
1 parent c18ae97 commit cc1f2ff
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bin/up
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ case ${1-} in
build)
flake build
;;
switch)
flake switch
;;
test)
if [[ "$OSTYPE" == "darwin"* ]]; then
flake switch
Expand All @@ -36,7 +33,10 @@ test)
prune)
nix-collect-garbage
;;
*)
pull)
nix flake update $src
;;
*)
flake switch
;;
esac

0 comments on commit cc1f2ff

Please sign in to comment.