Skip to content

Commit f4a29c4

Browse files
committed
Add dev:lint-config to replace sort-config command
1 parent 455d42d commit f4a29c4

File tree

8 files changed

+45
-44
lines changed

8 files changed

+45
-44
lines changed

config/pkg/lib/attr.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
attr:
22
type: library
3-
static-libs@unix:
4-
- libattr.a
53
artifact:
64
source:
75
type: url
@@ -10,5 +8,7 @@ attr:
108
type: url
119
url: 'https://mirror.souseiseki.middlendian.com/nongnu/attr/attr-2.5.2.tar.gz'
1210
metadata:
13-
license-files: ['doc/COPYING.LGPL']
11+
license-files: [doc/COPYING.LGPL]
1412
license: LGPL-2.1-or-later
13+
static-libs@unix:
14+
- libattr.a

config/pkg/lib/brotli.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
brotli:
22
type: library
3-
pkg-configs:
4-
- libbrotlicommon
5-
- libbrotlidec
6-
- libbrotlienc
7-
headers:
8-
- brotli
93
artifact:
104
source:
115
type: ghtagtar
126
repo: google/brotli
137
match: 'v1\.\d.*'
148
binary: hosted
159
metadata:
16-
license-files: ['LICENSE']
10+
license-files: [LICENSE]
1711
license: MIT
12+
headers:
13+
- brotli
14+
pkg-configs:
15+
- libbrotlicommon
16+
- libbrotlidec
17+
- libbrotlienc

config/pkg/lib/bzip2.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
bzip2:
22
type: library
3-
static-libs@unix:
4-
- libbz2.a
5-
headers:
6-
- bzlib.h
73
artifact:
84
source:
95
type: url
@@ -15,4 +11,8 @@ bzip2:
1511
binary: hosted
1612
metadata:
1713
license-files: ['{registry_root}/src/globals/licenses/bzip2.txt']
18-
license: bzip2-1.0.6
14+
license: bzip2-1.0.6
15+
headers:
16+
- bzlib.h
17+
static-libs@unix:
18+
- libbz2.a

config/pkg/lib/fastlz.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
fastlz:
22
type: library
3-
static-libs@unix:
4-
- libfastlz.a
5-
headers:
6-
- fastlz.h
73
artifact:
84
source:
95
type: git
106
url: 'https://github.com/ariya/FastLZ.git'
117
rev: master
128
metadata:
13-
license-files: ['LICENSE.MIT']
14-
license: MIT
9+
license-files: [LICENSE.MIT]
10+
license: MIT
11+
headers:
12+
- fastlz.h
13+
static-libs@unix:
14+
- libfastlz.a

config/pkg/lib/gmp.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
gmp:
22
type: library
3-
static-libs@unix:
4-
- libgmp.a
5-
headers:
6-
- gmp.h
7-
pkg-configs:
8-
- gmp
93
artifact:
104
source:
115
type: filelist
@@ -17,3 +11,9 @@ gmp:
1711
metadata:
1812
license-files: ['@/gmp.txt']
1913
license: Custom
14+
headers:
15+
- gmp.h
16+
pkg-configs:
17+
- gmp
18+
static-libs@unix:
19+
- libgmp.a

config/pkg/lib/openssl.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,23 @@
11
openssl:
22
type: library
3-
static-libs@unix:
4-
- libssl.a
5-
- libcrypto.a
6-
headers: ['openssl']
7-
depends:
8-
- zlib
93
artifact:
104
source:
115
type: ghrel
126
repo: openssl/openssl
13-
match: 'openssl.+\.tar\.gz'
7+
match: openssl.+\.tar\.gz
148
prefer-stable: true
159
source-mirror:
1610
type: filelist
1711
url: 'https://www.openssl.org/source/'
1812
regex: '/href="(?<file>openssl-(?<version>[^"]+)\.tar\.gz)"/'
1913
binary: hosted
2014
metadata:
21-
license-files: ['LICENSE.txt']
15+
license-files: [LICENSE.txt]
2216
license: OpenSSL
17+
depends:
18+
- zlib
19+
headers:
20+
- openssl
21+
static-libs@unix:
22+
- libssl.a
23+
- libcrypto.a

config/pkg/lib/zlib.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
zlib:
22
type: library
3-
static-libs@unix:
4-
- libz.a
5-
headers:
6-
- zlib.h
7-
- zconf.h
83
artifact:
94
source:
105
type: ghrel
116
repo: madler/zlib
12-
match: 'zlib.+\.tar\.gz'
7+
match: zlib.+\.tar\.gz
138
binary: hosted
149
metadata:
1510
license-files: ['{registry_root}/src/globals/licenses/zlib.txt']
16-
license: Zlib-Custom
11+
license: Zlib-Custom
12+
headers:
13+
- zlib.h
14+
- zconf.h
15+
static-libs@unix:
16+
- libz.a

src/StaticPHP/ConsoleApplication.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
use StaticPHP\Command\BuildTargetCommand;
99
use StaticPHP\Command\Dev\EnvCommand;
1010
use StaticPHP\Command\Dev\IsInstalledCommand;
11+
use StaticPHP\Command\Dev\LintConfigCommand;
1112
use StaticPHP\Command\Dev\ShellCommand;
12-
use StaticPHP\Command\Dev\SortConfigCommand;
1313
use StaticPHP\Command\DoctorCommand;
1414
use StaticPHP\Command\DownloadCommand;
1515
use StaticPHP\Command\DumpLicenseCommand;
@@ -62,7 +62,7 @@ public function __construct()
6262
new ShellCommand(),
6363
new IsInstalledCommand(),
6464
new EnvCommand(),
65-
new SortConfigCommand(),
65+
new LintConfigCommand(),
6666
]);
6767

6868
// add additional commands from registries

0 commit comments

Comments
 (0)