Skip to content

Commit

Permalink
Merge pull request #53 from alexpdev/0.2.8
Browse files Browse the repository at this point in the history
bump version
  • Loading branch information
alexpdev authored Jan 25, 2022
2 parents 3c9b22e + b0000c1 commit 5ea1be7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 22 deletions.
23 changes: 4 additions & 19 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,6 @@ enviornment: ## Actiate local python environmant

clean: clean-build ## remove all build, test, coverage and Python artifacts

upgrade: clean ## upgrade all dependencies
python -m pip install --upgrade pip
pip install --upgrade --pre -rrequirements.txt

clean-build: ## remove build artifacts
rm -frv build/
rm -frv dist/
Expand All @@ -83,6 +79,8 @@ lint: ## run linters on codebase
prospector tests

test: lint ## run tests quickly with the default Python
pip install --upgrade --force-reinstall --pre --no-cache torrentfile
pip install -e .
pytest tests --cov=torrentfileQt --cov=tests
coverage report
coverage xml -o coverage.xml
Expand All @@ -91,25 +89,12 @@ test: lint ## run tests quickly with the default Python
push: clean test ## push changes to remote
git add .
git commit -m "$m"
git push -u origin other

branch: ## create dev git branch
git stash
git checkout main
git pull
git branch -d dev
git branch dev
git push -u origin dev
git stash pop
git push

release: clean test ## release to pypi
python setup.py sdist bdist_wheel bdist_egg
twine upload dist/*

install: ## install app in eedit mode
pip install --upgrade --force-reinstall --pre torrentfile pyben
pip install -e .

build: clean install
python setup.py sdist bdist_wheel bdist_egg
rm -rfv ../runner
Expand All @@ -130,4 +115,4 @@ build: clean install
cp -rfv ../runner/dist/* ./dist/
@python -c "$$FIXES"

full: clean environment upgrade test push install release build
full: clean test push release build
Binary file added assets/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions coverage.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" ?>
<coverage version="6.2" timestamp="1643073409415" lines-valid="1560" lines-covered="1559" line-rate="0.9994" branches-covered="0" branches-valid="0" branch-rate="0" complexity="0">
<coverage version="6.2" timestamp="1643074332148" lines-valid="1560" lines-covered="1559" line-rate="0.9994" branches-covered="0" branches-valid="0" branch-rate="0" complexity="0">
<!-- Generated by coverage.py: https://coverage.readthedocs.io -->
<!-- Based on https://raw.githubusercontent.com/cobertura/web/master/htdocs/xml/coverage-04.dtd -->
<sources>
Expand Down Expand Up @@ -1550,9 +1550,9 @@
<line number="157" hits="1"/>
<line number="158" hits="1"/>
<line number="159" hits="1"/>
<line number="160" hits="0"/>
<line number="160" hits="1"/>
<line number="161" hits="1"/>
<line number="162" hits="1"/>
<line number="162" hits="0"/>
<line number="164" hits="1"/>
<line number="165" hits="1"/>
<line number="166" hits="1"/>
Expand Down

0 comments on commit 5ea1be7

Please sign in to comment.