Add additional work on check-package.

This commit is contained in:
Dorian 2018-07-12 20:55:18 -04:00
parent 16140bca3a
commit 95714eff8f
2 changed files with 3 additions and 3 deletions

View File

@ -7,5 +7,5 @@ from invoke import task, run
def setup_virtualenvs(ctx): def setup_virtualenvs(ctx):
temp_dir = tempfile.mkdtemp() temp_dir = tempfile.mkdtemp()
run('virtualenv {}'.format(temp_dir)) run('virtualenv {}'.format(temp_dir))
run('./{}/bin/activate'.format(temp_dir)) run('{}/bin/pip install -e .'.format(temp_dir))
run('pip install -e .') # TODO: Run tests after the installation.

View File

@ -16,4 +16,4 @@ virtualenv = "^16.0"
pytest = "^3.0" pytest = "^3.0"
[tool.poetry.scripts] [tool.poetry.scripts]
check-package = 'check_package.main:program' 'check-package' = 'check_package.main:program.run'