Skip to content

Commit

Permalink
Rename "compile-all" to "compile"
Browse files Browse the repository at this point in the history
  • Loading branch information
suutari-ai committed Feb 13, 2017
1 parent 955d423 commit 8c7bb8d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
2 changes: 2 additions & 0 deletions ChangeLog.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
Unreleased
----------

- Rename "prequ compile-all" to "prequ compile"

0.180.9
-------

Expand Down
2 changes: 1 addition & 1 deletion prequ/scripts/compile_all.py → prequ/scripts/compile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down
4 changes: 2 additions & 2 deletions prequ/scripts/prequ.py
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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')

Expand Down
6 changes: 3 additions & 3 deletions prequ/scripts/update.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
from .. import click
from . import build_wheels
from . import compile_all
from . import compile


@click.command()
@click.option('-v', '--verbose', is_flag=True, help="Show more output")
@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)

0 comments on commit 8c7bb8d

Please sign in to comment.