[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-taler-util] 02/02: clean up configure.py configuration
From: |
gnunet |
Subject: |
[taler-taler-util] 02/02: clean up configure.py configuration |
Date: |
Mon, 16 Dec 2019 15:45:33 +0100 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository taler-util.
commit c3a74e694cd57179460294244f060dd6892d806d
Author: ng0 <address@hidden>
AuthorDate: Mon Dec 16 14:45:16 2019 +0000
clean up configure.py configuration
---
Makefile | 14 +++++++-------
configure.py | 7 ++-----
2 files changed, 9 insertions(+), 12 deletions(-)
diff --git a/Makefile b/Makefile
index 48ee800..1768be0 100644
--- a/Makefile
+++ b/Makefile
@@ -2,11 +2,11 @@ include config.mk
.SILENT: all
all: dist
- echo "This is a python project, no compilation at this step required."
- echo "Run make install to install global."
- echo "Run make install-user to install for the current user."
- echo ""
- echo "If you want to update your installation, use make update."
+ $(echo) "This is a python project, no compilation at this step
required."
+ $(echo) "Run make install to install global."
+ $(echo) "Run make install-user to install for the current user."
+ $(echo) ""
+ $(echo) "If you want to update your installation, use make update."
# you need SOURCE_DATE_EPOCH at least at the 1980s when
# your default SOURCE_DATE_EPOCH in env is 1.
@@ -36,7 +36,7 @@ check:
$(tox) || echo "error: you have to install tox"
pretty:
- find . -type f -name '*.py' -or -name '*.py.in' -print0 | xargs -0
$(yapf) -i 2>&1 || true
+ $(find) . -type f -name '*.py' -or -name '*.py.in' -print0 | $(xargs)
-0 $(yapf) -i 2>&1 || true
clean:
- rm -rf __pycache__ *~
+ $(rm) -rf __pycache__ *~
diff --git a/configure.py b/configure.py
index 354456c..650bbcf 100644
--- a/configure.py
+++ b/configure.py
@@ -36,14 +36,11 @@ b.enable_configmk()
b.add_tool(PythonTool())
b.add_tool(PyToxTool())
b.add_tool(YapfTool())
-b.add_tool(PosixTool("cp"))
b.add_tool(PosixTool("echo"))
b.add_tool(PosixTool("env"))
-b.add_tool(PosixTool("printf"))
-b.add_tool(PosixTool("grep"))
-b.add_tool(PosixTool("ln"))
-b.add_tool(PosixTool("mkdir"))
+b.add_tool(PosixTool("find"))
b.add_tool(PosixTool("rm"))
b.add_tool(PosixTool("sh"))
b.add_tool(PosixTool("git"))
+b.add_tool(PosixTool("xargs"))
b.run()
--
To stop receiving notification emails like this one, please contact
address@hidden.