Skip to content

Commit

Permalink
Publish the CPP plugin
Browse files Browse the repository at this point in the history
Testing Done:
`./build-support/bin/release.sh -n` and confirmed the CPP plugin appeared in the output.

Bugs closed: 3930

Reviewed at https://rbcommons.com/s/twitter/r/4282/
  • Loading branch information
Mike Cripps authored and stuhood committed Oct 6, 2016
1 parent 8ba7de4 commit 68259c1
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions contrib/release_packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,17 @@ function pkg_findbugs_install_test() {
--explain compile | grep "findbugs" &> /dev/null
}

PKG_CPP=(
"pantsbuild.pants.contrib.cpp"
"//contrib/cpp/src/python/pants/contrib/cpp:plugin"
"pkg_cpp_install_test"
)
function pkg_cpp_install_test() {
execute_packaged_pants_with_internal_backends \
--plugins="['pantsbuild.pants.contrib.cpp==$(local_version)']" \
--explain compile | grep "cpp" &> /dev/null
}

# Once individual (new) package is declared above, insert it into the array below)
CONTRIB_PACKAGES=(
PKG_ANDROID
Expand All @@ -120,4 +131,5 @@ CONTRIB_PACKAGES=(
PKG_PYTHON_CHECKS
PKG_SCALAJS
PKG_FINDBUGS
PKG_CPP
)

0 comments on commit 68259c1

Please sign in to comment.