From a11b1c05be6f9d07e6aaff94865b425e8d31b828 Mon Sep 17 00:00:00 2001 From: Benjamin Bach Date: Fri, 6 May 2016 00:33:22 +0200 Subject: [PATCH] update the release and sdist targets --- Makefile | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/Makefile b/Makefile index 24938796..51f2e062 100644 --- a/Makefile +++ b/Makefile @@ -42,7 +42,14 @@ docs: sphinx-build -b linkcheck ./docs _build/ sphinx-build -b html ./docs _build/ -release: clean assets +release: sdist + twine upload -s dist/* + +assets: + lessc wiki/static/wiki/bootstrap/less/wiki/wiki-bootstrap.less wiki/static/wiki/bootstrap/css/wiki-bootstrap.css + lessc -x wiki/static/wiki/bootstrap/less/wiki/wiki-bootstrap.less wiki/static/wiki/bootstrap/css/wiki-bootstrap.min.css + +sdist: clean assets echo "Creating HISTORY.rst..." echo "Latest Changes" > HISTORY.rst echo "==============" >> HISTORY.rst @@ -52,14 +59,6 @@ release: clean assets echo "Compiled on: `date`::" >> HISTORY.rst echo "" >> HISTORY.rst git log --graph --pretty=format:'%h -%d %s (%cr) <%an>' --abbrev-commit | sed "s/^/ /" >> HISTORY.rst - echo "Packing source dist..." - twine upload -s dist/* - -assets: - lessc wiki/static/wiki/bootstrap/less/wiki/wiki-bootstrap.less wiki/static/wiki/bootstrap/css/wiki-bootstrap.css - lessc -x wiki/static/wiki/bootstrap/less/wiki/wiki-bootstrap.less wiki/static/wiki/bootstrap/css/wiki-bootstrap.min.css - -sdist: clean assets python setup.py sdist python setup.py bdist_wheel ls -l dist -- 2.45.2