blob: 13525b7c39966d8a83b5569e2b1640ca3f68a618 [file] [log] [blame]
install:
- set -exo pipefail
- mkdir python_tmp
- wget https://github.com/kageiit/jitpack-python/releases/download/2.7/python-2.7.tar.gz -O python_tmp/python.tar.gz
- tar -C python_tmp -xf python_tmp/python.tar.gz --strip-components=1
- export PATH="$PATH:python_tmp/bin"
- ant
- PEX=$(bin/buck build buck --show-output | awk '{print $2}')
- SHA=$(git rev-parse HEAD)
- mvn install:install-file -Dfile="$PEX" -DgroupId="$GROUP" -DartifactId="$ARTIFACT" -Dversion="$SHA" -Dpackaging="pex" -DgeneratePom=true