Skip to content

Commit

Permalink
Spindle contrib plugin builds and distributes as part of the release …
Browse files Browse the repository at this point in the history
…process
  • Loading branch information
Patrick Lawson committed Jun 1, 2015
1 parent 5a587cb commit 404c980
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
13 changes: 13 additions & 0 deletions contrib/release_packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,21 @@ function pkg_buildgen_install_test() {
python -c "from pants.contrib.buildgen.build_file_manipulator import *"
}

PKG_SPINDLE=(
"pantsbuild.pants.contrib.spindle"
"//contrib/spindle/src/python/pants/contrib/spindle:plugin"
"pkg_spindle_install_test"
)
function pkg_spindle_install_test() {
PIP_ARGS="$@"
pip install ${PIP_ARGS} pantsbuild.pants.contrib.spindle==$(local_version) && \
execute_packaged_pants_with_internal_backends "extra_backend_packages='pants.contrib.spindle'" \
--explain gen | grep "spindle" &> /dev/null
}

# Once individual (new) package is declared above, insert it into the array below)
CONTRIB_PACKAGES=(
PKG_SCROOGE
PKG_BUILDGEN
PKG_SPINDLE
)
1 change: 1 addition & 0 deletions contrib/spindle/src/python/pants/contrib/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__import__('pkg_resources').declare_namespace(__name__)

0 comments on commit 404c980

Please sign in to comment.