Skip to content

Commit

Permalink
chore: use virion v3 (#107)
Browse files Browse the repository at this point in the history
  • Loading branch information
SOF3 committed Sep 3, 2023
1 parent deaf57a commit 8ec47cc
Show file tree
Hide file tree
Showing 6 changed files with 3,416 additions and 2 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Build phar
on:
push:
branches: [pm5]
jobs:
pharynx:
name: build phar
permissions:
contents: write
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: composer
- run: composer install --ignore-platform-reqs
- uses: SOF3/[email protected]
id: pharynx
- uses: actions/upload-artifact@v3
with:
name: BedrockEconomy.phar
path: ${{steps.pharynx.outputs.output-phar}}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ nbproject/*
src/CortexPE
src/muqsit
src/cooldogedev/libSQL
/vendor
31 changes: 31 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"name": "cooldogedev/bedrockeconomy",
"license": "MIT",
"type": "pocketmine-plugin",
"scripts": {
"analyze": "vendor/bin/phpstan analyze src",
"build": "php -dphar.readonly=0 vendor/bin/pharynx -i=. -c -p=BedrockEconomy.phar"
},
"repositories": [
{
"type": "vcs",
"url": "https://github.com/cooldogepm/libsql"
},
{
"type": "vcs",
"url": "https://github.com/SOF3/Commando"
}
],
"require": {
"pocketmine/pocketmine-mp": "^5.0.0",
"cooldogedev/libsql": "dev-pm5",
"cortexpe/commando": "dev-patch-1"
},
"require-dev": {
"sof3/pharynx": "^0.3.0",
"phpstan/phpstan": "^1.2"
},
"autoload": {
"classmap": ["src"]
}
}
Loading

0 comments on commit 8ec47cc

Please sign in to comment.