aboutsummaryrefslogtreecommitdiffstats
path: root/jjb/common/include-xds-build-common.sh
blob: 2ddd4967b0d8f7e535c68fba3f165b92365b7d61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash

# (c) 2018 Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
# License: GPLv2


ROOTDIR=`pwd`
rm -rf $ROOTDIR/src || true
mkdir -p $ROOTDIR/src/gerrit.automotivelinux.org/gerrit/src/xds
cd $ROOTDIR/src/gerrit.automotivelinux.org/gerrit/src/xds
git clone https://gerrit.automotivelinux.org/gerrit/${GERRIT_PROJECT}
cd ${PROJECT_TO_BUILD}
export V=1
make package-all

cd $ROOTDIR
tree -I "vendor|node_modules" || true