-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathMakefile
More file actions
48 lines (32 loc) · 996 Bytes
/
Makefile
File metadata and controls
48 lines (32 loc) · 996 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
36
37
38
39
40
41
42
43
44
45
46
47
48
package=compmake_tests
include pypackage.mk
bump:
bumpversion patch
git push --tags
git push --all
upload:
rm -f dist/*
rm -rf src/*.egg-info
python3 setup.py sdist
devpi use $(TWINE_REPOSITORY_URL)
devpi login $(TWINE_USERNAME) --password $(TWINE_PASSWORD)
devpi upload --verbose dist/*
COVERAGE_FILE=out/cov/data
nosequick:
coverage erase
mkdir -p out/cov
COVERAGE_FILE=$(COVERAGE_FILE) \
nosetests compmake_tests --with-coverage --cover-html --cover-html-dir out/cov \
--cover-package compmake,compmake_plugins,compmake_tests --cover-tests --cover-erase --cover-branches
vulture:
name=compmake-python3
test-python3:
docker stop $(name) || true
docker rm $(name) || true
docker run -it -v "$(shell realpath $(PWD)):/compmake" -w /compmake --name $(name) python:3 /bin/bash
test-python3-install:
pip install -r requirements.txt
pip install nose
python setup.py develop --no-deps
build2:
dts build_utils aido-container-build --ignore-dirty --ignore-untagged