Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:FrontRunner
cni.26896
build.sh
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File build.sh of Package cni.26896
#!/usr/bin/env bash set -e ORG_PATH="github.com/containernetworking" REPO_PATH="${ORG_PATH}/cni" if [ ! -h gopath/src/${REPO_PATH} ]; then mkdir -p gopath/src/${ORG_PATH} ln -s ../../../.. gopath/src/${REPO_PATH} || exit 255 fi export GO111MODULE=off export GO15VENDOREXPERIMENT=1 export GOPATH=${PWD}/gopath echo "Building API" go build "$@" ${REPO_PATH}/libcni echo "Building reference CLI" go build -o ${PWD}/bin/cnitool "$@" ${REPO_PATH}/cnitool echo "Building plugins" PLUGINS="plugins/test/*" for d in $PLUGINS; do if [ -d $d ]; then plugin=$(basename $d) echo " " $plugin go build -o ${PWD}/bin/$plugin "$@" ${REPO_PATH}/$d fi done
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor