Permalink
Browse files

Merge pull request #1000 from mozilla/remove_unused_mozdef_util_files

Remove unused cookie cutter files for mozdef_util
  • Loading branch information...
pwnbus committed Dec 14, 2018
2 parents 8af926d + 2b47045 commit 06f1b59f455e6d704681bbbb593d48da5c528dea

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.
@@ -1,18 +1,6 @@
.PHONY: clean clean-test clean-pyc clean-build docs help
.PHONY: clean clean-pyc clean-build help
.DEFAULT_GOAL := help

define BROWSER_PYSCRIPT
import os, webbrowser, sys

try:
from urllib import pathname2url
except:
from urllib.request import pathname2url

webbrowser.open("file://" + pathname2url(os.path.abspath(sys.argv[1])))
endef
export BROWSER_PYSCRIPT

define PRINT_HELP_PYSCRIPT
import re, sys

@@ -24,12 +12,10 @@ for line in sys.stdin:
endef
export PRINT_HELP_PYSCRIPT

BROWSER := python -c "$$BROWSER_PYSCRIPT"

help:
@python -c "$$PRINT_HELP_PYSCRIPT" < $(MAKEFILE_LIST)

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

clean-build: ## remove build artifacts
rm -fr build/
@@ -44,37 +30,8 @@ clean-pyc: ## remove Python file artifacts
find . -name '*~' -exec rm -f {} +
find . -name '__pycache__' -exec rm -fr {} +

clean-test: ## remove test and coverage artifacts
rm -fr .tox/
rm -f .coverage
rm -fr htmlcov/
rm -fr .pytest_cache

lint: ## check style with flake8
flake8 mozdef_util tests

test: ## run tests quickly with the default Python
python setup.py test

test-all: ## run tests on every Python version with tox
tox

coverage: ## check code coverage quickly with the default Python
coverage run --source mozdef_util setup.py test
coverage report -m
coverage html
$(BROWSER) htmlcov/index.html

docs: ## generate Sphinx HTML documentation, including API docs
rm -f docs/mozdef_util.rst
rm -f docs/modules.rst
sphinx-apidoc -o docs/ mozdef_util
$(MAKE) -C docs clean
$(MAKE) -C docs html
$(BROWSER) docs/_build/html/index.html

servedocs: docs ## compile the docs watching for changes
watchmedo shell-command -p '*.rst' -c '$(MAKE) -C docs html' -R -D .
flake8 mozdef_util

release: dist ## package and upload a release
twine upload dist/*
@@ -6,19 +6,4 @@ MozDef Util
Utilities shared throughout the MozDef codebase


* Free software: Mozilla Public License 2.0
* Documentation: https://mozdef-util.readthedocs.io.


Features
--------

* TODO

Credits
-------

This package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage
* Documentation: https://mozdef.readthedocs.io/en/latest/mozdef_util.html

This file was deleted.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit 06f1b59

Please sign in to comment.