Projects
Kolab:16
kolab-webadmin-old
buildtarball.sh
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File buildtarball.sh of Package kolab-webadmin-old (Revision 1)
Currently displaying revision
1
,
Show latest
#!/bin/bash set -e VERSION=3.2.16 GIT_REF=master NAME=kolab-webadmin-$VERSION if [ -x "/usr/local/bin/lessc" ]; then LESSC=/usr/local/bin/lessc else LESSC=~/node_modules/less/bin/lessc fi ROOT_DIR=$(pwd) rm -Rf /tmp/$NAME mkdir /tmp/$NAME cd /tmp/$NAME cat << EOF > ./composer.json { "name": "kolab/webadmin", "description": "The Kolab Web Administration Panel", "license": "AGPL-3.0+", "repositories": [ { "type": "vcs", "url": "https://git.kolab.org/diffusion/PNL/php-net_ldap.git" } ], "require": { "php": ">=5.4.0", "pear/pear-core-minimal": "~1.10.1", "pear/http_request2": "~2.3.0", "pear/mail": "~1.4.1", "pear/net_smtp": "~1.7.3", "pear/net_ldap2": "~2.2.0", "kolab/net_ldap3": "dev-master", "smarty/smarty": "~3.1.31" } } EOF rm -f $NAME.tar.gz [ -d "$NAME" ] && rm -rf "$NAME" git clone --branch master ssh://git@git.kolab.org/diffusion/WAP/webadmin.git $NAME pushd $NAME git reset --hard $GIT_REF popd # Run composer and other install processes mv composer.json $NAME/composer.json pushd $NAME composer install popd # cat << EOF > ./phpstan.neon # parameters: # level: 1 # parallel: # processTimeout: 300.0 # paths: # - app/ # EOF # php -dmemory_limit=500M vendor/bin/phpstan analyse # popd tar --exclude="$NAME/.git" -czf "$ROOT_DIR/$NAME.tar.gz" $NAME cd "$PWD"
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
.