Skip to content

Commit

Permalink
Ops changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Leonardo Barcaroli committed Apr 22, 2020
1 parent 53c9feb commit 74cd778
Show file tree
Hide file tree
Showing 5 changed files with 255 additions and 132 deletions.
23 changes: 19 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ endef
export PRINT_HELP_PYSCRIPT

BROWSER := python -c "$$BROWSER_PYSCRIPT"
VERSION := 0.1
VERSION := 0.1.0

help:
@python -c "$$PRINT_HELP_PYSCRIPT" < $(MAKEFILE_LIST)
Expand Down Expand Up @@ -71,14 +71,29 @@ docs: ## generate Sphinx HTML documentation, including API docs
servedocs: docs ## compile the docs watching for changes
watchmedo shell-command -p '*.rst' -c '$(MAKE) -C docs html' -R -D .

release: dist ## package and upload a release
twine upload dist/*
fix: bumpmicro dist

dist: clean ## builds source and wheel package
release: bumpminor dist

majrelease: bumpmajor dist

bumpmicro:
bumpversion micro

bumpminor:
bumpversion minor

bumpmajor:
bumpversion major

dist: clean format
python setup.py sdist
python setup.py bdist_wheel
ls -l dist

format:
black kofi/

install: clean ## install the package to the active Python's site-packages
python setup.py install

Expand Down
6 changes: 6 additions & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,15 @@ python-docs-theme = "*"
watchdog = "*"
argh = "*"
pygments-graphql-lexer = {git = "https://github.com/lablup/pygments-graphql-lexer.git"}
bump2version = "*"
black = ">=19"

[packages]
kofi = {editable = true,path = "."}

[requires]
python_version = "3.8"
# vim : set syntax=toml

[pipenv]
allow_prereleases = true
Loading

0 comments on commit 74cd778

Please sign in to comment.