From 8c7bb8d6ceafb829dd7f6a239fe9d1b5852dc3a0 Mon Sep 17 00:00:00 2001 From: Tuomas Suutari Date: Mon, 13 Feb 2017 14:23:43 +0200 Subject: [PATCH] Rename "compile-all" to "compile" --- ChangeLog.rst | 2 ++ prequ/scripts/{compile_all.py => compile.py} | 2 +- prequ/scripts/prequ.py | 4 ++-- prequ/scripts/update.py | 6 +++--- 4 files changed, 8 insertions(+), 6 deletions(-) rename prequ/scripts/{compile_all.py => compile.py} (96%) diff --git a/ChangeLog.rst b/ChangeLog.rst index 1a4384b34..abb9dc0f4 100644 --- a/ChangeLog.rst +++ b/ChangeLog.rst @@ -1,6 +1,8 @@ Unreleased ---------- +- Rename "prequ compile-all" to "prequ compile" + 0.180.9 ------- diff --git a/prequ/scripts/compile_all.py b/prequ/scripts/compile.py similarity index 96% rename from prequ/scripts/compile_all.py rename to prequ/scripts/compile.py index 343e4ce08..f0ba3cbf0 100644 --- a/prequ/scripts/compile_all.py +++ b/prequ/scripts/compile.py @@ -11,7 +11,7 @@ @click.pass_context def main(ctx, verbose): """ - Compile all requirements files (*.in). + Compile requirements from pre-requirements. """ prereq = PreRequirements.from_file('requirements.pre') for (mode, requirements) in prereq.get_requirements(): diff --git a/prequ/scripts/prequ.py b/prequ/scripts/prequ.py index 423ea5cc7..53d02950b 100755 --- a/prequ/scripts/prequ.py +++ b/prequ/scripts/prequ.py @@ -1,7 +1,7 @@ from .. import click from . import build_wheels from . import compile_in -from . import compile_all +from . import compile from . import sync from . import update @@ -14,7 +14,7 @@ def main(): main.add_command(build_wheels.main, 'build-wheels') main.add_command(compile_in.cli, 'compile-in') -main.add_command(compile_all.main, 'compile-all') +main.add_command(compile.main, 'compile') main.add_command(sync.cli, 'sync') main.add_command(update.main, 'update') diff --git a/prequ/scripts/update.py b/prequ/scripts/update.py index d825cb41a..4f562ffe4 100644 --- a/prequ/scripts/update.py +++ b/prequ/scripts/update.py @@ -1,6 +1,6 @@ from .. import click from . import build_wheels -from . import compile_all +from . import compile @click.command() @@ -8,7 +8,7 @@ @click.pass_context def main(ctx, verbose): """ - Build wheels and compile all requirements. + Build wheels and compile requirements. """ ctx.invoke(build_wheels.main) - ctx.invoke(compile_all.main, verbose=verbose) + ctx.invoke(compile.main, verbose=verbose)