mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-10 10:25:36 +08:00
Add dev:lint-config to replace sort-config command
This commit is contained in:
@@ -1,7 +1,5 @@
|
|||||||
attr:
|
attr:
|
||||||
type: library
|
type: library
|
||||||
static-libs@unix:
|
|
||||||
- libattr.a
|
|
||||||
artifact:
|
artifact:
|
||||||
source:
|
source:
|
||||||
type: url
|
type: url
|
||||||
@@ -10,5 +8,7 @@ attr:
|
|||||||
type: url
|
type: url
|
||||||
url: 'https://mirror.souseiseki.middlendian.com/nongnu/attr/attr-2.5.2.tar.gz'
|
url: 'https://mirror.souseiseki.middlendian.com/nongnu/attr/attr-2.5.2.tar.gz'
|
||||||
metadata:
|
metadata:
|
||||||
license-files: ['doc/COPYING.LGPL']
|
license-files: [doc/COPYING.LGPL]
|
||||||
license: LGPL-2.1-or-later
|
license: LGPL-2.1-or-later
|
||||||
|
static-libs@unix:
|
||||||
|
- libattr.a
|
||||||
|
|||||||
@@ -1,11 +1,5 @@
|
|||||||
brotli:
|
brotli:
|
||||||
type: library
|
type: library
|
||||||
pkg-configs:
|
|
||||||
- libbrotlicommon
|
|
||||||
- libbrotlidec
|
|
||||||
- libbrotlienc
|
|
||||||
headers:
|
|
||||||
- brotli
|
|
||||||
artifact:
|
artifact:
|
||||||
source:
|
source:
|
||||||
type: ghtagtar
|
type: ghtagtar
|
||||||
@@ -13,5 +7,11 @@ brotli:
|
|||||||
match: 'v1\.\d.*'
|
match: 'v1\.\d.*'
|
||||||
binary: hosted
|
binary: hosted
|
||||||
metadata:
|
metadata:
|
||||||
license-files: ['LICENSE']
|
license-files: [LICENSE]
|
||||||
license: MIT
|
license: MIT
|
||||||
|
headers:
|
||||||
|
- brotli
|
||||||
|
pkg-configs:
|
||||||
|
- libbrotlicommon
|
||||||
|
- libbrotlidec
|
||||||
|
- libbrotlienc
|
||||||
|
|||||||
@@ -1,9 +1,5 @@
|
|||||||
bzip2:
|
bzip2:
|
||||||
type: library
|
type: library
|
||||||
static-libs@unix:
|
|
||||||
- libbz2.a
|
|
||||||
headers:
|
|
||||||
- bzlib.h
|
|
||||||
artifact:
|
artifact:
|
||||||
source:
|
source:
|
||||||
type: url
|
type: url
|
||||||
@@ -16,3 +12,7 @@ bzip2:
|
|||||||
metadata:
|
metadata:
|
||||||
license-files: ['{registry_root}/src/globals/licenses/bzip2.txt']
|
license-files: ['{registry_root}/src/globals/licenses/bzip2.txt']
|
||||||
license: bzip2-1.0.6
|
license: bzip2-1.0.6
|
||||||
|
headers:
|
||||||
|
- bzlib.h
|
||||||
|
static-libs@unix:
|
||||||
|
- libbz2.a
|
||||||
|
|||||||
@@ -1,14 +1,14 @@
|
|||||||
fastlz:
|
fastlz:
|
||||||
type: library
|
type: library
|
||||||
static-libs@unix:
|
|
||||||
- libfastlz.a
|
|
||||||
headers:
|
|
||||||
- fastlz.h
|
|
||||||
artifact:
|
artifact:
|
||||||
source:
|
source:
|
||||||
type: git
|
type: git
|
||||||
url: 'https://github.com/ariya/FastLZ.git'
|
url: 'https://github.com/ariya/FastLZ.git'
|
||||||
rev: master
|
rev: master
|
||||||
metadata:
|
metadata:
|
||||||
license-files: ['LICENSE.MIT']
|
license-files: [LICENSE.MIT]
|
||||||
license: MIT
|
license: MIT
|
||||||
|
headers:
|
||||||
|
- fastlz.h
|
||||||
|
static-libs@unix:
|
||||||
|
- libfastlz.a
|
||||||
|
|||||||
@@ -1,11 +1,5 @@
|
|||||||
gmp:
|
gmp:
|
||||||
type: library
|
type: library
|
||||||
static-libs@unix:
|
|
||||||
- libgmp.a
|
|
||||||
headers:
|
|
||||||
- gmp.h
|
|
||||||
pkg-configs:
|
|
||||||
- gmp
|
|
||||||
artifact:
|
artifact:
|
||||||
source:
|
source:
|
||||||
type: filelist
|
type: filelist
|
||||||
@@ -17,3 +11,9 @@ gmp:
|
|||||||
metadata:
|
metadata:
|
||||||
license-files: ['@/gmp.txt']
|
license-files: ['@/gmp.txt']
|
||||||
license: Custom
|
license: Custom
|
||||||
|
headers:
|
||||||
|
- gmp.h
|
||||||
|
pkg-configs:
|
||||||
|
- gmp
|
||||||
|
static-libs@unix:
|
||||||
|
- libgmp.a
|
||||||
|
|||||||
@@ -1,16 +1,10 @@
|
|||||||
openssl:
|
openssl:
|
||||||
type: library
|
type: library
|
||||||
static-libs@unix:
|
|
||||||
- libssl.a
|
|
||||||
- libcrypto.a
|
|
||||||
headers: ['openssl']
|
|
||||||
depends:
|
|
||||||
- zlib
|
|
||||||
artifact:
|
artifact:
|
||||||
source:
|
source:
|
||||||
type: ghrel
|
type: ghrel
|
||||||
repo: openssl/openssl
|
repo: openssl/openssl
|
||||||
match: 'openssl.+\.tar\.gz'
|
match: openssl.+\.tar\.gz
|
||||||
prefer-stable: true
|
prefer-stable: true
|
||||||
source-mirror:
|
source-mirror:
|
||||||
type: filelist
|
type: filelist
|
||||||
@@ -18,5 +12,12 @@ openssl:
|
|||||||
regex: '/href="(?<file>openssl-(?<version>[^"]+)\.tar\.gz)"/'
|
regex: '/href="(?<file>openssl-(?<version>[^"]+)\.tar\.gz)"/'
|
||||||
binary: hosted
|
binary: hosted
|
||||||
metadata:
|
metadata:
|
||||||
license-files: ['LICENSE.txt']
|
license-files: [LICENSE.txt]
|
||||||
license: OpenSSL
|
license: OpenSSL
|
||||||
|
depends:
|
||||||
|
- zlib
|
||||||
|
headers:
|
||||||
|
- openssl
|
||||||
|
static-libs@unix:
|
||||||
|
- libssl.a
|
||||||
|
- libcrypto.a
|
||||||
|
|||||||
@@ -1,16 +1,16 @@
|
|||||||
zlib:
|
zlib:
|
||||||
type: library
|
type: library
|
||||||
static-libs@unix:
|
|
||||||
- libz.a
|
|
||||||
headers:
|
|
||||||
- zlib.h
|
|
||||||
- zconf.h
|
|
||||||
artifact:
|
artifact:
|
||||||
source:
|
source:
|
||||||
type: ghrel
|
type: ghrel
|
||||||
repo: madler/zlib
|
repo: madler/zlib
|
||||||
match: 'zlib.+\.tar\.gz'
|
match: zlib.+\.tar\.gz
|
||||||
binary: hosted
|
binary: hosted
|
||||||
metadata:
|
metadata:
|
||||||
license-files: ['{registry_root}/src/globals/licenses/zlib.txt']
|
license-files: ['{registry_root}/src/globals/licenses/zlib.txt']
|
||||||
license: Zlib-Custom
|
license: Zlib-Custom
|
||||||
|
headers:
|
||||||
|
- zlib.h
|
||||||
|
- zconf.h
|
||||||
|
static-libs@unix:
|
||||||
|
- libz.a
|
||||||
|
|||||||
@@ -8,8 +8,8 @@ use StaticPHP\Command\BuildLibsCommand;
|
|||||||
use StaticPHP\Command\BuildTargetCommand;
|
use StaticPHP\Command\BuildTargetCommand;
|
||||||
use StaticPHP\Command\Dev\EnvCommand;
|
use StaticPHP\Command\Dev\EnvCommand;
|
||||||
use StaticPHP\Command\Dev\IsInstalledCommand;
|
use StaticPHP\Command\Dev\IsInstalledCommand;
|
||||||
|
use StaticPHP\Command\Dev\LintConfigCommand;
|
||||||
use StaticPHP\Command\Dev\ShellCommand;
|
use StaticPHP\Command\Dev\ShellCommand;
|
||||||
use StaticPHP\Command\Dev\SortConfigCommand;
|
|
||||||
use StaticPHP\Command\DoctorCommand;
|
use StaticPHP\Command\DoctorCommand;
|
||||||
use StaticPHP\Command\DownloadCommand;
|
use StaticPHP\Command\DownloadCommand;
|
||||||
use StaticPHP\Command\DumpLicenseCommand;
|
use StaticPHP\Command\DumpLicenseCommand;
|
||||||
@@ -62,7 +62,7 @@ class ConsoleApplication extends Application
|
|||||||
new ShellCommand(),
|
new ShellCommand(),
|
||||||
new IsInstalledCommand(),
|
new IsInstalledCommand(),
|
||||||
new EnvCommand(),
|
new EnvCommand(),
|
||||||
new SortConfigCommand(),
|
new LintConfigCommand(),
|
||||||
]);
|
]);
|
||||||
|
|
||||||
// add additional commands from registries
|
// add additional commands from registries
|
||||||
|
|||||||
Reference in New Issue
Block a user