Skip to content

Commit

Permalink
bump deps and make a justfile for own convenience
Browse files Browse the repository at this point in the history
while we are in the area...

Signed-off-by: clux <sszynrae@gmail.com>
  • Loading branch information
clux committed Aug 22, 2023
1 parent 0d62e82 commit 93c2aaa
Show file tree
Hide file tree
Showing 5 changed files with 51 additions and 23 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Resources maintained by players:
- [dndbeyond campaign](https://www.dndbeyond.com/campaigns/156017)

## Players and PCs
Partially generated by `./stats.sh` at end of campaign:
Partially generated by `just stats` at end of campaign:

- 124 Guy ([Mordai](./docs/pcs/mordai.md))
- 100 Florent ([Goatweaver](./docs/pcs/goatweaver.md))
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Resources maintained by players:
- [dndbeyond campaign](https://www.dndbeyond.com/campaigns/156017)

## Players and PCs
Partially generated by `./stats.sh` at end of campaign:
Partially generated by `just stats` at end of campaign:

- 124 Guy ([Mordai](./pcs/mordai.md))
- 100 Florent ([Goatweaver](./pcs/goatweaver.md))
Expand Down
22 changes: 22 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
default:
@just --list --unsorted --color=always | rg -v " default"
open := if os() == "macos" { "open" } else { "xdg-open" }

# Start a development server assuming virtualenv deps have been installed
serve:
#!/usr/bin/env bash
if [ -z "${VIRTUAL_ENV}" ]; then
echo "Activate virtualenv first"
echo "Please run:"
echo "python3 -m venv venv && source/venv/bin/activate && pip install -r requirements.txt"
echo "or, if you have already installed it:"
echo "source venv/bin/activate"
exit 1
fi
(sleep 2 && {{open}} http://127.0.0.1:8000/) &
mkdocs serve
# generate player statistics
stats:
#!/usr/bin/env sh
rg Players: -A 6 docs/recaps/ | rg "\- (\w*)" -r '$1' -o | sort | uniq -c | sort -hr
43 changes: 27 additions & 16 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,26 +1,37 @@
certifi==2022.12.7
charset-normalizer==3.0.1
click==8.1.3
Babel==2.12.1
beautifulsoup4==4.12.2
certifi==2023.7.22
charset-normalizer==3.2.0
click==8.1.7
colorama==0.4.6
cssselect==1.2.0
ghp-import==2.1.0
idna==3.4
Jinja2==3.1.2
Markdown==3.3.7
MarkupSafe==2.1.2
lxml==4.9.3
Markdown==3.4.4
markdown2==2.4.10
MarkupSafe==2.1.3
mergedeep==1.3.4
mkdocs==1.4.2
mkdocs==1.5.2
mkdocs-exclude==1.0.2
mkdocs-material==9.0.6
mkdocs-material==9.2.2
mkdocs-material-extensions==1.1.1
mkdocs-roamlinks-plugin==0.2.0
packaging==23.0
Pygments==2.14.0
pymdown-extensions==9.9.2
mkdocs-roamlinks-plugin==0.3.2
packaging==23.1
paginate==0.5.6
pathspec==0.11.2
platformdirs==3.10.0
Pygments==2.16.1
pymdown-extensions==10.1
pyquery==2.0.0
python-dateutil==2.8.2
PyYAML==6.0
PyYAML==6.0.1
pyyaml_env_tag==0.1
regex==2022.10.31
requests==2.28.2
readtime==3.0.0
regex==2023.8.8
requests==2.31.0
six==1.16.0
urllib3==1.26.14
watchdog==2.2.1
soupsieve==2.4.1
urllib3==2.0.4
watchdog==3.0.0
5 changes: 0 additions & 5 deletions stats.sh

This file was deleted.

0 comments on commit 93c2aaa

Please sign in to comment.