Projects
Kolab:Winterfell
guam-selfcontained
buildtarball.sh
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File buildtarball.sh of Package guam-selfcontained (Revision 2)
Currently displaying revision
2
,
Show latest
#!/bin/bash set -e VERSION=0.9.12 NAME=guam-$VERSION ROOT_DIR=$(pwd) rm -Rf /tmp/$NAME mkdir /tmp/$NAME cd /tmp/$NAME rm -f $NAME.tar.gz [ -d "$NAME" ] && rm -rf "$NAME" git clone --branch master ssh://git@git.kolab.org/diffusion/G/guam.git $NAME pushd $NAME ./rebar3 deps # Copy all dependencies to _checkouts, so they are available when building the rpm without internet access mkdir -p _checkouts cp -R _build/default/lib/* _checkouts/ cp -R _build/default/plugins/* _checkouts/ mkdir -p cache cp -r ~/.cache/rebar3 cache/rebar3 tar --transform "s,^\.,guam-${VERSION}," --exclude="_build/test" --exclude=".git" --exclude="_build" -czf "$ROOT_DIR/$NAME.tar.gz" . popd cd $ROOT_DIR
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.