mirror of
https://github.com/joomla-extensions/weblinks.git
synced 2024-12-25 17:51:07 +00:00
35 lines
573 B
Bash
35 lines
573 B
Bash
#!/usr/bin/env bash
|
|
VERSION="$(git rev-parse --short HEAD)"
|
|
|
|
echo "Started building at $(date) - $(whoami)"
|
|
|
|
# Update composer
|
|
composer self-update
|
|
|
|
# show directory listing
|
|
ls -al
|
|
ls -al vendor
|
|
mount
|
|
|
|
# Install dependencies
|
|
composer install --no-interaction --no-progress
|
|
|
|
mkdir -p /tests/www
|
|
cp -r ./* /tests/www
|
|
|
|
cd /tests/www
|
|
|
|
cp jorobo.dist.ini jorobo.ini
|
|
cp RoboFile.dist.ini RoboFile.ini
|
|
|
|
|
|
|
|
# Build package
|
|
vendor/bin/robo build --dev
|
|
|
|
# Copy acceptance yml
|
|
cp tests/acceptance.suite.dist.yml tests/acceptance.suite.yml
|
|
|
|
chown -R www-data .
|
|
chown -R www-data /tests
|