Skip to content

Commit

Permalink
🚜 Updates virtualenvwrapper to use just recipes
Browse files Browse the repository at this point in the history
  • Loading branch information
jefftriplett committed Sep 16, 2024
1 parent 628c1f6 commit c454e79
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 0 deletions.
2 changes: 2 additions & 0 deletions home/.virtualenvs/get_env_details
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
#!/bin/bash
# This hook is run when the list of virtualenvs is printed so each name can include details.

just --justfile=${HOME}/justfile virtualenvwrapper::get_env_details
2 changes: 2 additions & 0 deletions home/.virtualenvs/initialize
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
#!/bin/bash
# This hook is run during the startup phase when loading virtualenvwrapper.sh.

# just --justfile=${HOME}/justfile virtualenvwrapper::initialize
2 changes: 2 additions & 0 deletions home/.virtualenvs/postmkproject
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
#!/bin/bash
# This hook is run after a new project is activated.

just --justfile=${HOME}/justfile virtualenvwrapper::mkproject
2 changes: 2 additions & 0 deletions home/.virtualenvs/postrmproject
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
#!/bin/bash
# This hook is run after a project is deleted.

just --justfile=${HOME}/justfile virtualenvwrapper::postrmproject
2 changes: 2 additions & 0 deletions home/.virtualenvs/postrmvirtualenv
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
#!/bin/bash
# This hook is run after a virtualenv is deleted.

just --justfile=${HOME}/justfile virtualenvwrapper::postrmvirtualenv
2 changes: 2 additions & 0 deletions home/.virtualenvs/predeactivate
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
#!/bin/bash
# This hook is run before every virtualenv is deactivated.

just --justfile=${HOME}/justfile virtualenvwrapper::predeactivate
2 changes: 2 additions & 0 deletions home/.virtualenvs/premkproject
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
#!/bin/bash
# This hook is run after a new project is created and before it is activated.

just --justfile=${HOME}/justfile virtualenvwrapper::mkproject
2 changes: 2 additions & 0 deletions home/.virtualenvs/premkvirtualenv
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
#!/bin/bash
# This hook is run after a new virtualenv is created and before it is activated.

just --justfile=${HOME}/justfile virtualenvwrapper::premkvirtualenv
1 change: 1 addition & 0 deletions home/.virtualenvs/prermproject
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
#!/bin/bash
# This hook is run before a project is deleted.
just --justfile=${HOME}/justfile virtualenvwrapper::prermproject
2 changes: 2 additions & 0 deletions home/.virtualenvs/prermvirtualenv
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,5 @@ if $CONTINUE; then
rm "${WORKSPACE_FILE}"
fi
fi

just --justfile=${HOME}/justfile virtualenvwrapper::prermvirtualenv

0 comments on commit c454e79

Please sign in to comment.