forked from conda/conda
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
50 lines (29 loc) · 997 Bytes
/
Makefile
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
SHELL := /bin/bash -o pipefail -o errexit
clean:
find . -name \*.py[cod] -delete
find . -name __pycache__ -delete
rm -rf .cache build
rm -f .coverage .coverage.* junit.xml tmpfile.rc tempfile.rc coverage.xml
rm -rf auxlib bin conda/progressbar
rm -rf conda-build conda_build_test_recipe record.txt
rm -rf .pytest_cache
clean-all:
@echo Deleting everything not belonging to the git repo:
git clean -fdx
anaconda-submit-test: clean-all
anaconda build submit . --queue conda-team/build_recipes --test-only
anaconda-submit-upload: clean-all
anaconda build submit . --queue conda-team/build_recipes --label stage
pytest-version:
pytest --version
smoketest:
pytest tests/test_create.py -k test_create_install_update_remove
unit:
pytest -m "not integration and not installed"
integration: clean pytest-version
pytest -m "integration and not installed"
test-installed:
pytest -m "installed" --shell=bash --shell=zsh
html:
cd docs && make html
.PHONY: $(MAKECMDGOALS)