Skip to content

Commit

Permalink
tools: Add tool to prep dev environment.
Browse files Browse the repository at this point in the history
  • Loading branch information
adambirds committed May 1, 2021
1 parent e732769 commit 8c26ce2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions .shellcheckrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
disable=SC1091
10 changes: 10 additions & 0 deletions tools/setup/prep-dev-environment
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/usr/bin/env bash
set -eu

python3 -m venv xkcd-pass-venv
if [ -d xkcd-pass-venv/bin ]; then
source xkcd-pass-venv/bin/activate
fi
pip3 install -r ../../requirements.txt
./install-shellcheck
./install-shfmt

0 comments on commit 8c26ce2

Please sign in to comment.