Skip to content

Commit

Permalink
Add env.sh which sources .venv/bin/activate and deps/zephyr/zephyr-en…
Browse files Browse the repository at this point in the history
…v.sh
  • Loading branch information
magnmaeh committed Mar 5, 2024
1 parent 8e4e6ee commit 926dd3e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions env.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Oneliner from: https://stackoverflow.com/questions/59895/how-do-i-get-the-directory-where-a-bash-script-is-located-from-within-the-script
here=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )

source $here/.venv/bin/activate
source $here/deps/zephyr/zephyr-env.sh

0 comments on commit 926dd3e

Please sign in to comment.