-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #42 from SOF3/composer
chore: switch to virion v3
- Loading branch information
Showing
6 changed files
with
3,422 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: composer | ||
directory: "/" | ||
schedule: | ||
interval: daily | ||
open-pull-requests-limit: 10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: Build phar | ||
on: | ||
push: | ||
branches: [api/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/pharynx@v0.2 | ||
id: pharynx | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: plugin.phar | ||
path: ${{steps.pharynx.outputs.output-phar}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/vendor |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"name": "supercrafter333/betterban", | ||
"license": "Apache-2.0", | ||
"type": "pocketmine-plugin", | ||
"scripts": { | ||
"analyze": "vendor/bin/phpstan", | ||
"build": "php -dphar.readonly=0 vendor/bin/pharynx -i=. -c -p=BetterBan.phar" | ||
}, | ||
"repositories": [ | ||
{ | ||
"type": "vcs", | ||
"url": "https://github.com/SOF3/DiscordWebhooksX" | ||
} | ||
], | ||
"require": { | ||
"pocketmine/pocketmine-mp": "^5.0.0", | ||
"dktapps/pmforms": "dev-master", | ||
"supercrafter333/discordwebhooksx": "dev-composer" | ||
}, | ||
"require-dev": { | ||
"sof3/pharynx": "^0.3.0", | ||
"phpstan/phpstan": "^1.2" | ||
}, | ||
"autoload": { | ||
"classmap": ["src"] | ||
} | ||
} |
Oops, something went wrong.