Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Pharynx workflow to inject instead of poggit #30

Merged
merged 1 commit into from
Feb 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: CI
on:
- push
- pull_request
jobs:
pharynx:
name: build phar
permissions:
contents: write
runs-on: ubuntu-20.04
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
strategy:
matrix:
php:
- "8.2"
steps:
- uses: actions/checkout@v3
- uses: pmmp/[email protected]
with:
php-version: ${{ matrix.php }}
install-path: "../bin"
pm-version-major: "5"
- uses: SOF3/[email protected]
id: pharynx
- uses: actions/upload-artifact@v3
with:
name: plugin.phar
path: ${{steps.pharynx.outputs.output-phar}}
13 changes: 0 additions & 13 deletions .poggit.yml

This file was deleted.

22 changes: 7 additions & 15 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,32 +5,24 @@
"description": "A properly made duels plugin for PocketMine-MP",
"type": "project",
"license": "GPL-3.0-only",
"scripts": {
"build": "php -dphar.readonly=0 vendor/bin/pharynx -i=. -c -p=ProperDuels.phar"
},
"require": {
"pocketmine/pocketmine-mp": "^5.0.0",
"sof3/libasynql": "^4.2.0",
"muqsit/simple-packet-handler": "dev-pm5",
"paroxity/commando": "master"
"cortexpe/commando": "dev-fork"
},
"require-dev": {
"sof3/pharynx": "^0.3.0",
"phpstan/phpstan": "^1.2.0",
"phpstan/phpstan-strict-rules": "^1.0",
"phpstan/extension-installer": "^1.0"
},
"repositories": [
{
"type": "package",
"package": {
"name": "paroxity/commando",
"version": "master",
"autoload": {
"classmap": ["src/"]
},
"source": {
"url": "https://github.com/paroxity/commando",
"type": "git",
"reference": "master"
}
}
"type": "vcs",
"url": "https://github.com/javierleon9966/commando"
}
],
"autoload": {
Expand Down
Loading