forked from jblance/mpp-solar
-
Notifications
You must be signed in to change notification settings - Fork 1
/
makefile
36 lines (27 loc) · 767 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
mppsolar-tests:
python3 -m unittest discover -s tests/mpp -f
powermon-unit-tests:
python3 -m unittest discover -s tests/pmon/unit -f -v
powermon-integration-tests:
python3 -m unittest discover -s tests/pmon/integration -f -v
test:
python3 -m unittest discover -s tests -f
tests: powermon-unit-tests powermon-integration-tests mppsolar-tests
pypi:
rm -rf dist/*
#python3 -m build
./make_version.sh
poetry build
poetry version patch
./make_version_dev.sh
ls -l dist/
cat mppsolar/version.py
cat powermon/version.py
pypi-upload:
twine upload dist/*
docker-up:
docker-compose up --build
docker-powermon-dev-up:
docker compose -f docker-compose.development.yaml up --build
poetry-dev:
poetry install --no-root --with=dev --extras=powermon