File: compile.py

package info (click to toggle)
python-rjsmin 1.1.0%2Bdfsg1-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,952 kB
  • sloc: python: 2,515; ansic: 735; sh: 62; makefile: 19
file content (15 lines) | stat: -rw-r--r-- 275 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# -*- encoding: ascii -*-
"""
Compile tasks
~~~~~~~~~~~~~

"""

import invoke as _invoke


@_invoke.task(default=True)
def compile(ctx):  # pylint: disable = redefined-builtin
    """ Compile the package """
    with ctx.shell.root_dir():
        ctx.run('pip install -e .')