Skip to content

Commit

Permalink
Merge pull request #33 from dasgarner/bugfix/build_phar
Browse files Browse the repository at this point in the history
Phar: build for PHP8.
  • Loading branch information
dasgarner authored Aug 2, 2023
2 parents cf4bb12 + df815b1 commit 13acd93
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 11 deletions.
Binary file modified bin/xmr.phar
Binary file not shown.
7 changes: 2 additions & 5 deletions build.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
#!/usr/bin/env bash
docker run --rm --name xmr-build \
-v "$PWD":/usr/src/myapp \
-w /usr/src/myapp php:7.0-cli \
/bin/bash -c "echo 'phar.readonly = Off' > /usr/local/etc/php/php.ini; curl -LSs https://box-project.github.io/box2/installer.php | php; php box.phar build; rm box.phar"

#docker rmi composer
#docker rmi php:7.0-cli
-w /usr/src/myapp composer \
/bin/bash -c "echo 'phar.readonly = Off' > /usr/local/etc/php/php.ini; curl -LSs https://github.com/box-project/box/releases/download/4.2.0/box.phar -o box.phar; php box.phar compile; rm box.phar"
8 changes: 2 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,12 @@
"digital signage",
"spring signage"
],
"homepage": "http://xibo.org.uk",
"homepage": "https://xibosignage.com",
"license": "AGPL-3.0-or-later",
"authors": [
{
"name": "Daniel Garner",
"homepage": "https://github.com/dasgarner"
},
{
"name": "Xibo Signage Ltd",
"homepage": "https://xibo.org.uk"
"homepage": "https://xibosignage.com"
},
{
"name": "Xibo Contributors",
Expand Down

0 comments on commit 13acd93

Please sign in to comment.