-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Refactor project to use Pharynx for improved plugin managem…
…ent and build process
- Loading branch information
1 parent
4a9cc66
commit f4d9c26
Showing
25 changed files
with
88 additions
and
10 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,26 @@ | ||
name: Build phar | ||
on: | ||
push: | ||
branches: [stable] | ||
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 | ||
with: | ||
additional-assets: | | ||
assets/icon.png | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: TopStats.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,18 @@ | ||
# Ignore vendor folder | ||
/vendor/ | ||
|
||
# Ignore Composer dependencies | ||
/composer.lock | ||
.text | ||
extract.php | ||
|
||
# Ignore log files | ||
*.log | ||
|
||
# Ignore environment files | ||
.env | ||
.env.local | ||
|
||
# Ignore IDE specific files | ||
.idea/ | ||
*.iml |
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
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": "nicholass003/topstats", | ||
"description": "A TopStats plugin for PocketMine-MP.", | ||
"type": "project", | ||
"require": { | ||
"pocketmine/pocketmine-mp": "^5.0.0", | ||
"dapigguy/libpiggyeconomy": "^3.0.3", | ||
"ifera-mc/update-notifier": "dev-master", | ||
"paroxity/commando": "^3.2.1", | ||
"sof3/infoapi": "dev-master" | ||
}, | ||
"require-dev": { | ||
"sof3/pharynx": "^0.3.6" | ||
}, | ||
"repositories": [ | ||
{ | ||
"type": "vcs", | ||
"url": "https://github.com/ifera-mc/UpdateNotifier" | ||
} | ||
], | ||
"autoload": { | ||
"classmap": ["src"] | ||
}, | ||
"scripts": { | ||
"build": "php -dphar.readonly=0 vendor/bin/pharynx -i=. -c -p=TopStats.phar" | ||
} | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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