boxnotes2html

Convert Box's proprietary Box Notes to HTML, Markdown, or plain text
git clone git://git.alexwennerberg.com/boxnotes2html
Log | Files | Refs | README | LICENSE

Makefile (1246B) - raw


      1 .PHONY: clean clean-test clean-pyc clean-build docs help
      2 .DEFAULT_GOAL := help
      3 
      4 help:
      5 	@python -c "$$PRINT_HELP_PYSCRIPT" < $(MAKEFILE_LIST)
      6 
      7 clean: clean-build clean-pyc clean-test ## remove all build, test, coverage and Python artifacts
      8 
      9 clean-build: ## remove build artifacts
     10 	rm -fr build/
     11 	rm -fr dist/
     12 	rm -fr .eggs/
     13 	find . -name '*.egg-info' -exec rm -fr {} +
     14 	find . -name '*.egg' -exec rm -fr {} +
     15 
     16 clean-pyc: ## remove Python file artifacts
     17 	find . -name '*.pyc' -exec rm -f {} +
     18 	find . -name '*.pyo' -exec rm -f {} +
     19 	find . -name '*~' -exec rm -f {} +
     20 	find . -name '__pycache__' -exec rm -fr {} +
     21 
     22 clean-test: ## remove test and coverage artifacts
     23 	rm -fr .tox/
     24 	rm -f .coverage
     25 	rm -fr htmlcov/
     26 	rm -fr .pytest_cache
     27 	rm -rf tests/fixtures/*txt
     28 	rm -rf tests/fixtures/*md
     29 	rm -rf tests/fixtures/*html
     30 
     31 test: clean-test ## run tests quickly with the default Python
     32 	python3 setup.py test
     33 
     34 test-all: ## run tests on every Python version with tox
     35 	tox
     36 
     37 release: dist ## package and upload a release
     38 	twine upload dist/*
     39 
     40 dist: clean ## builds source and wheel package
     41 	python setup.py sdist
     42 	python setup.py bdist_wheel
     43 	ls -l dist
     44 
     45 install: clean ## install the package to the active Python's site-packages
     46 	python setup.py install