forked from lighthouse-intelligence/djangosaml2idp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
35 lines (29 loc) · 658 Bytes
/
Makefile
File metadata and controls
35 lines (29 loc) · 658 Bytes
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
28
29
30
31
32
33
34
35
# This target inits the repo
install:
@pip install \
--force-reinstall \
-e .[testing] \
-r requirements-dev.txt
@pre-commit install
# Run entire test suite
test:
@python setup.py test
# Recompiles dev dependencies
compile:
@rm -f requirements-dev.txt
@pip-compile requirements-dev.in
# Updates virtualenv with new dependencies
# pip-sync will uninstall anything not in the given requirements files
# and so you have to reinstall the package deps.
sync:
@pip-sync requirements-dev.txt
@pip install -e .[testing]
lint:
@pylama djangosaml2idp
# Clean up files from development
clean:
@rm -rf \
.pytest_cache \
.tox \
.mypy_cache \
dist