~pjdc/mojo/sparkle-motion

« back to all changes in this revision

Viewing changes to mojo/phase.py

  • Committer: mergebot at canonical
  • Author(s): "Paul Collins"
  • Date: 2018-09-12 05:47:49 UTC
  • mfrom: (491.1.2 repo-template-var)
  • Revision ID: mergebot@juju-139df4-prod-is-toolbox-0.canonical.com-20180912054749-0t8q87ca0cs1lez8
add repo_dir and charm_dir, update docs and tests

Reviewed-on: https://code.launchpad.net/~pjdc/mojo/repo-template-var/+merge/354741
Reviewed-by: Laurent Sesques <laurent.sesques@canonical.com>

Show diffs side-by-side

added added

removed removed

Lines of Context:
656
656
            'spec_dir': workspace.spec_dir,
657
657
            'local_dir': workspace.local_dir,
658
658
            'build_dir': workspace.build_dir,
 
659
            'repo_dir': workspace.repo_dir,
 
660
            'charm_dir': os.path.join(workspace.repo_dir, project.series),
659
661
            'stage': stage,
660
662
            'stage_name': os.path.basename(stage),
661
663
            })