Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
server:php:applications
platformsh-cli
update.sh
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File update.sh of Package platformsh-cli
#!/bin/bash # rerun _service rm *.xz osc service dr # extract tarball, install composer dependencies, recompress, remove directory name=$(basename $(pwd)) tar xf $name-*.tar.xz cd $name-*/ composer install --no-interaction --no-dev composer licenses > ../licenses.txt php ../extensions.php > ../extensions.txt source_dir=$(basename $(pwd)) cd .. tar --directory=$source_dir -cJf $name-vendor.tar.xz vendor rm -r $source_dir osc addremove
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