-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathjustfile
27 lines (22 loc) · 953 Bytes
/
justfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
default:
just --list
# https://github.com/rnorth/gh-combine-prs
# use combine-prs extension to bump all requirements files
dependabot:
gh combine-prs --query "author:app/dependabot"
# set up virtual environment in working directory
bootstrap:
if test ! -e {{invocation_directory()}}/.venv; then python -m venv {{invocation_directory()}}/.venv; fi
{{invocation_directory()}}/.venv/bin/python -m pip install --upgrade pip wheel setuptools
if test -f {{invocation_directory()}}/requirements.txt; \
then \
{{invocation_directory()}}/.venv/bin/python -m pip install -r {{invocation_directory()}}/requirements.txt; \
fi
# remove virtual environment from working directory
clean:
rm -rf {{invocation_directory()}}/.venv
# deploy manifest in current directory to target server
deploy connect:
rsconnect deploy manifest {{invocation_directory()}}/manifest.json -n {{connect}}
release:
gh release create