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

feat: Add package management #343

Merged
merged 7 commits into from
Feb 18, 2024
Merged

feat: Add package management #343

merged 7 commits into from
Feb 18, 2024

Conversation

crazywhalecc
Copy link
Owner

@crazywhalecc crazywhalecc commented Feb 18, 2024

What does this PR do?

  • Add install-pkg command: Install binary tools or pre-compiled libraries.
  • Add del-download command: Delete downloaded sources.
  • Change perl, nasm, musl-toolchain to pkg: Treat them as packages.
  • Add PKG_ROOT_PATH (default ./pkgroot/): Store binary tools dir.
  • Add upx package for linux. (bin/spc install-pkg upx)
  • Prepare for Add build option: reduce size for linux micro.sfx and php-cli using UPX #336

Checklist before merging

If your PR involves the changes mentioned below and completed the action, please tick the corresponding option.
If a modification is not involved, please skip it directly.

  • If it's a extension or dependency update, make sure adding related extensions in src/global/test-extensions.php.
  • If you changed the behavior of static-php-cli, add docs in static-php/static-php-cli-docs .
  • If you updated config/xxxx.json content, run bin/spc dev:sort-config xxx.

@crazywhalecc crazywhalecc added enhancement New feature or request kind/framework Issues related to CLI app framework labels Feb 18, 2024
crazywhalecc added a commit to static-php/static-php-cli-docs that referenced this pull request Feb 18, 2024
crazywhalecc added a commit to static-php/static-php-cli-docs that referenced this pull request Feb 18, 2024
@crazywhalecc crazywhalecc merged commit 4adf1f5 into main Feb 18, 2024
21 checks passed
@crazywhalecc crazywhalecc deleted the pkg-install branch February 18, 2024 08:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request kind/framework Issues related to CLI app framework
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant