summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorrsiddharth <s@ricketyspace.net>2017-02-18 16:32:33 +0000
committerrsiddharth <s@ricketyspace.net>2017-02-18 16:32:33 +0000
commitfb0a03dfabb29dae899c7d2f1dc94ff38a3240c6 (patch)
treefc9ddab0424a17d48b7b252b613724aa28f14d21 /Makefile
Initial commit.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile54
1 files changed, 54 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..27dc30f
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,54 @@
+# Copyright © 2017 markdown-link-style contributors. See CONTRIBUTORS.
+#
+# This file is part of markdown-link-style.
+#
+# markdown-link-style is free software: you can redistribute it
+# and/or modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation, either version 3 of
+# the License, or (at your option) any later version.
+#
+# markdown-link-style is distributed in the hope that it will be
+# useful, but WITHOUT ANY WARRANTY; without even the implied
+# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with markdown-link-style (see COPYING). If not, see
+# <http://www.gnu.org/licenses/>.
+
+test:
+ @nosetests
+.PHONY: test
+
+build-dist:
+ @python setup.py sdist bdist_wheel
+.PHONY: build-dist
+
+egg:
+ @python setup.py egg_info
+.PHONY: egg
+
+upload:
+ @twine upload -r pypi -s -i \
+ '1534 126D 8C8E AD29 EDD9 1396 6BE9 3D8B F866 4377' \
+ dist/*.tar.gz
+ @twine upload -r pypi -s -i \
+ '1534 126D 8C8E AD29 EDD9 1396 6BE9 3D8B F866 4377' \
+ dist/*.whl
+.PHONY: upload
+
+clean-build:
+ @rm -rf build/
+ @rm -rf dist/
+ @rm -rf *.egg-info
+
+clean-pyc:
+ @find . -name '*.pyc' -exec rm -f {} +
+
+clean-venv:
+ @rm -rf bin/
+ @rm -rf include/
+ @rm -rf lib/
+ @rm -rf local/
+ @rm -rf man/
+.PHONY: clean-venv