Project not found: home:aporta:branches:devel:ARM:Factory:Contrib:RPi5

File get-GitHub-deps-with-composer.sh of Package mediawiki_1_27-GitHub

#!/bin/bash

extdir=GitHub-master

test -d $extdir || {
	echo "Please unpack the $extdir tarball first, aborting"
	exit 1
}

test -d $extdir/vendor/ && {
	echo "$extdir/vendor subdirectory already exists, aborting"
	exit 1
}

# abort on errors
set -e

cd $extdir

# download dependencies needed by the $extdir extension
composer install --no-dev

cd ..

tar cjf $extdir-vendor.tar.bz2 $extdir/composer.lock $extdir/vendor/

echo $extdir-vendor.tar.bz2 created
openSUSE Build Service is sponsored by