Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id DECAC200CB6 for ; Thu, 29 Jun 2017 12:43:48 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id DD7B7160BED; Thu, 29 Jun 2017 10:43:48 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 2FF98160BDF for ; Thu, 29 Jun 2017 12:43:48 +0200 (CEST) Received: (qmail 53038 invoked by uid 500); 29 Jun 2017 10:43:47 -0000 Mailing-List: contact commits-help@ariatosca.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ariatosca.incubator.apache.org Delivered-To: mailing list commits@ariatosca.incubator.apache.org Received: (qmail 53029 invoked by uid 99); 29 Jun 2017 10:43:47 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Jun 2017 10:43:47 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id D358D1A00C9 for ; Thu, 29 Jun 2017 10:43:46 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -4.221 X-Spam-Level: X-Spam-Status: No, score=-4.221 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id kcGJ2-JkPLQa for ; Thu, 29 Jun 2017 10:43:45 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with SMTP id 1EC5F5FAFA for ; Thu, 29 Jun 2017 10:43:45 +0000 (UTC) Received: (qmail 53019 invoked by uid 99); 29 Jun 2017 10:43:44 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Jun 2017 10:43:44 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 8726FE10F3; Thu, 29 Jun 2017 10:43:44 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: ran@apache.org To: commits@ariatosca.incubator.apache.org Message-Id: <1d13467c2ca040abb7652ab4ea33a7da@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: incubator-ariatosca git commit: ARIA-295 Makefile fixes Date: Thu, 29 Jun 2017 10:43:44 +0000 (UTC) archived-at: Thu, 29 Jun 2017 10:43:49 -0000 Repository: incubator-ariatosca Updated Branches: refs/heads/ARIA-295-makefile-deploy-target-is-broken [created] 56443b2c1 ARIA-295 Makefile fixes Fixed the "clean" target which would sometimes raise errors. Removed the "deploy" target which was broken, and should probably not be a part of the Makefile at this stage. Project: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/commit/56443b2c Tree: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/tree/56443b2c Diff: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/diff/56443b2c Branch: refs/heads/ARIA-295-makefile-deploy-target-is-broken Commit: 56443b2c14d28fbd1b4cb0dc5af18c4c4effc372 Parents: 53dc64e Author: Ran Ziv Authored: Thu Jun 29 13:42:01 2017 +0300 Committer: Ran Ziv Committed: Thu Jun 29 13:42:01 2017 +0300 ---------------------------------------------------------------------- Makefile | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/blob/56443b2c/Makefile ---------------------------------------------------------------------- diff --git a/Makefile b/Makefile index 4884a65..daacd73 100644 --- a/Makefile +++ b/Makefile @@ -24,13 +24,14 @@ PYTHON_VERSION = $$(python -V 2>&1 | cut -f2 -d' ' | cut -f1,2 -d'.' --output-de .PHONY: clean install install-virtual docs test dist deploy default: - @echo "Please choose one of the following targets: clean, install, install-virtual, docs, test, dist, deploy, requirements.txt" + @echo "Please choose one of the following targets: clean, install, install-virtual, docs, test, dist, requirements.txt" clean: rm -rf "$(DIST)" "$(HTML)" .tox .coverage* - -find . -type f -name '.coverage' -delete - -find . -type d -name '.coverage' -exec rm -rf {} \; 2>/dev/null - -find . -type d -name '*.egg-info' -exec rm -rf {} \; 2>/dev/null + -find . -maxdepth 1 -type f -name '.coverage' -delete + -find . -maxdepth 1 -type d -name '.coverage' -exec rm -rf {} \; 2>/dev/null + -find . -maxdepth 1 -type d -name '*.egg-info' -exec rm -rf {} \; 2>/dev/null + -find . -maxdepth 1 -type d -name 'build' -exec rm -rf {} \; 2>/dev/null install: pip install .[ssh] @@ -51,22 +52,13 @@ docs: test: pip install --upgrade "tox>=2.7.0" - tox -e pylint_code - tox -e pylint_tests - tox -e py$(PYTHON_VERSION) - tox -e py$(PYTHON_VERSION)e2e - tox -e py$(PYTHON_VERSION)ssh + tox -e pylint_code -e pylint_tests -e py$(PYTHON_VERSION) -e py$(PYTHON_VERSION)e2e -e py$(PYTHON_VERSION)ssh dist: docs python ./setup.py sdist bdist_wheel # pushing LICENSE and additional files into the binary distribution archive -find "$(DIST)" -type f -name '*.whl' -exec zip -u {} LICENSE NOTICE DISCLAIMER \; -deploy: - pip install --upgrade "twine>=1.9.1" - gpg --detach-sign -a "$(DIST)"/* - twine upload "$(DIST)"/* - ./requirements.txt: ./requirements.in pip install --upgrade "pip-tools>=1.9.0" pip-compile --output-file ./requirements.txt ./requirements.in