Skip to content

Commit 31099a8

Browse files
committed
optimized
Signed-off-by: leleliu008 <leleliu008@gmail.com>
1 parent a22f0da commit 31099a8

23 files changed

+114
-104
lines changed

.github/workflows/alpinelinux.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ jobs:
3535
- run: ./output/bin/uppm -h
3636
- run: ./output/bin/uppm -V
3737

38-
- run: ./output/bin/uppm env
39-
- run: ./output/bin/uppm env -v
38+
- run: ./output/bin/uppm about
39+
- run: ./output/bin/uppm about -v
4040

4141
- run: ./output/bin/uppm integrate zsh
4242
- run: ./output/bin/uppm integrate zsh -v

.github/workflows/archlinux.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ jobs:
3333
- run: ./output/bin/uppm -h
3434
- run: ./output/bin/uppm -V
3535

36-
- run: ./output/bin/uppm env
37-
- run: ./output/bin/uppm env -v
36+
- run: ./output/bin/uppm about
37+
- run: ./output/bin/uppm about -v
3838

3939
- run: ./output/bin/uppm integrate zsh
4040

.github/workflows/centos.yml

+16-14
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,18 @@ jobs:
2424
2525
- uses: actions/checkout@main
2626

27-
- name: install ppkg
28-
run: |
29-
curl -LO https://raw.githubusercontent.com/leleliu008/ppkg/master/ppkg
30-
chmod a+x ppkg
31-
./ppkg setup
3227

33-
- run: ./ppkg update
34-
- run: ./ppkg install uppm
35-
- run: ./ppkg tree uppm
28+
- run: curl -LO https://raw.githubusercontent.com/leleliu008/ppkg/master/ppkg
29+
- run: chmod a+x ppkg
30+
31+
- run: ./ppkg setup
32+
- run: ./ppkg update
33+
34+
- run: |
35+
echo "src-url: dir://$PWD" >> ~/.ppkg/repos.d/official-core/formula/uppm.yml
3636
37+
- run: ./ppkg install uppm
38+
- run: ./ppkg tree uppm
3739

3840

3941
- run: echo "SSL_CERT_FILE=$HOME/.ppkg/core/cacert.pem" >> $GITHUB_ENV
@@ -47,8 +49,8 @@ jobs:
4749
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm -h
4850
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm -V
4951

50-
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm env
51-
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm env -v
52+
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm about
53+
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm about -v
5254

5355
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm integrate zsh
5456

@@ -148,8 +150,8 @@ jobs:
148150
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm -h
149151
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm -V
150152

151-
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm env
152-
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm env -v
153+
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm about
154+
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm about -v
153155

154156
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm integrate zsh
155157

@@ -255,8 +257,8 @@ jobs:
255257
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm -h
256258
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm -V
257259

258-
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm env
259-
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm env -v
260+
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm about
261+
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm about -v
260262

261263
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm integrate zsh
262264

.github/workflows/debian.yml

+13-10
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,18 @@ jobs:
2424

2525
- uses: actions/checkout@main
2626

27-
- name: install ppkg
28-
run: |
29-
curl -LO https://raw.githubusercontent.com/leleliu008/ppkg/master/ppkg
30-
chmod a+x ppkg
31-
./ppkg setup
3227

33-
- run: ./ppkg update
34-
- run: ./ppkg install uppm
35-
- run: ./ppkg tree uppm
28+
- run: curl -LO https://raw.githubusercontent.com/leleliu008/ppkg/master/ppkg
29+
- run: chmod a+x ppkg
30+
31+
- run: ./ppkg setup
32+
- run: ./ppkg update
33+
34+
- run: |
35+
echo "src-url: dir://$PWD" >> ~/.ppkg/repos.d/official-core/formula/uppm.yml
36+
37+
- run: ./ppkg install uppm
38+
- run: ./ppkg tree uppm
3639

3740

3841
- run: echo "SSL_CERT_FILE=$HOME/.ppkg/core/cacert.pem" >> $GITHUB_ENV
@@ -46,8 +49,8 @@ jobs:
4649
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm -h
4750
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm -V
4851

49-
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm env
50-
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm env -v
52+
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm about
53+
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm about -v
5154

5255
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm integrate zsh
5356

.github/workflows/fedora.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ jobs:
3636
- run: ./output/bin/uppm -h
3737
- run: ./output/bin/uppm -V
3838

39-
- run: ./output/bin/uppm env
40-
- run: ./output/bin/uppm env -v
39+
- run: ./output/bin/uppm about
40+
- run: ./output/bin/uppm about -v
4141

4242
- run: ./output/bin/uppm integrate zsh
4343

.github/workflows/freebsd.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ jobs:
3838
run ./output/bin/uppm -h
3939
run ./output/bin/uppm -V
4040
41-
run ./output/bin/uppm env
42-
run ./output/bin/uppm env -v
41+
run ./output/bin/uppm about
42+
run ./output/bin/uppm about -v
4343
4444
run ./output/bin/uppm integrate zsh
4545

.github/workflows/gentoo.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ jobs:
3030
- run: ./output/bin/uppm -h
3131
- run: ./output/bin/uppm -V
3232

33-
- run: ./output/bin/uppm env
34-
- run: ./output/bin/uppm env -v
33+
- run: ./output/bin/uppm about
34+
- run: ./output/bin/uppm about -v
3535

3636
- run: ./output/bin/uppm integrate zsh
3737

.github/workflows/linuxmint.yml

+12-10
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,17 @@ jobs:
2424

2525
- uses: actions/checkout@main
2626

27-
- name: install ppkg
28-
run: |
29-
curl -LO https://raw.githubusercontent.com/leleliu008/ppkg/master/ppkg
30-
chmod a+x ppkg
31-
./ppkg setup
27+
- run: curl -LO https://raw.githubusercontent.com/leleliu008/ppkg/master/ppkg
28+
- run: chmod a+x ppkg
3229

33-
- run: ./ppkg update
34-
- run: ./ppkg install uppm
35-
- run: ./ppkg tree uppm
30+
- run: ./ppkg setup
31+
- run: ./ppkg update
32+
33+
- run: |
34+
echo "src-url: dir://$PWD" >> ~/.ppkg/repos.d/official-core/formula/uppm.yml
35+
36+
- run: ./ppkg install uppm
37+
- run: ./ppkg tree uppm
3638

3739

3840

@@ -47,8 +49,8 @@ jobs:
4749
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm -h
4850
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm -V
4951

50-
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm env
51-
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm env -v
52+
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm about
53+
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm about -v
5254

5355
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm integrate zsh
5456

.github/workflows/macos.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ jobs:
5151
- run: ./output/bin/uppm -h
5252
- run: ./output/bin/uppm -V
5353

54-
- run: ./output/bin/uppm env
55-
- run: ./output/bin/uppm env -v
54+
- run: ./output/bin/uppm about
55+
- run: ./output/bin/uppm about -v
5656

5757
- run: ./output/bin/uppm integrate zsh -v
5858

@@ -163,8 +163,8 @@ jobs:
163163
- run: ./output/bin/uppm -h
164164
- run: ./output/bin/uppm -V
165165

166-
- run: ./output/bin/uppm env
167-
- run: ./output/bin/uppm env -v
166+
- run: ./output/bin/uppm about
167+
- run: ./output/bin/uppm about -v
168168

169169
- run: ./output/bin/uppm integrate zsh -v
170170

@@ -279,8 +279,8 @@ jobs:
279279
- run: ./output/bin/uppm -h
280280
- run: ./output/bin/uppm -V
281281

282-
- run: ./output/bin/uppm env
283-
- run: ./output/bin/uppm env -v
282+
- run: ./output/bin/uppm about
283+
- run: ./output/bin/uppm about -v
284284

285285
- run: ./output/bin/uppm integrate zsh -v
286286

@@ -392,8 +392,8 @@ jobs:
392392
- run: ./output/bin/uppm -h
393393
- run: ./output/bin/uppm -V
394394

395-
- run: ./output/bin/uppm env
396-
- run: ./output/bin/uppm env -v
395+
- run: ./output/bin/uppm about
396+
- run: ./output/bin/uppm about -v
397397

398398
- run: ./output/bin/uppm integrate zsh -v
399399

.github/workflows/manjaro.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ jobs:
3232
- run: ./output/bin/uppm -h
3333
- run: ./output/bin/uppm -V
3434

35-
- run: ./output/bin/uppm env
36-
- run: ./output/bin/uppm env -v
35+
- run: ./output/bin/uppm about
36+
- run: ./output/bin/uppm about -v
3737

3838
- run: ./output/bin/uppm integrate zsh
3939

.github/workflows/netbsd.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ jobs:
5151
run ./output/bin/uppm -h
5252
run ./output/bin/uppm -V
5353
54-
run ./output/bin/uppm env
55-
run ./output/bin/uppm env -v
54+
run ./output/bin/uppm about
55+
run ./output/bin/uppm about -v
5656
5757
run ./output/bin/uppm integrate zsh
5858

.github/workflows/openbsd.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ jobs:
3838
run ./output/bin/uppm -h
3939
run ./output/bin/uppm -V
4040
41-
run ./output/bin/uppm env
42-
run ./output/bin/uppm env -v
41+
run ./output/bin/uppm about
42+
run ./output/bin/uppm about -v
4343
4444
run ./output/bin/uppm integrate zsh
4545

.github/workflows/opensuse.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ jobs:
3636
- run: ./output/bin/uppm -h
3737
- run: ./output/bin/uppm -V
3838

39-
- run: ./output/bin/uppm env
40-
- run: ./output/bin/uppm env -v
39+
- run: ./output/bin/uppm about
40+
- run: ./output/bin/uppm about -v
4141

4242
- run: ./output/bin/uppm integrate zsh
4343

.github/workflows/ppkg.yml

+13-10
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,18 @@ jobs:
1919
steps:
2020
- uses: actions/checkout@main
2121

22-
- name: install ppkg
23-
run: |
24-
curl -LO https://raw.githubusercontent.com/leleliu008/ppkg/master/ppkg
25-
chmod a+x ppkg
26-
./ppkg setup
2722

28-
- run: ./ppkg update
29-
- run: ./ppkg install uppm
30-
- run: ./ppkg tree uppm
23+
- run: curl -LO https://raw.githubusercontent.com/leleliu008/ppkg/master/ppkg
24+
- run: chmod a+x ppkg
25+
26+
- run: ./ppkg setup
27+
- run: ./ppkg update
28+
29+
- run: |
30+
echo "src-url: dir://$PWD" >> ~/.ppkg/repos.d/official-core/formula/uppm.yml
31+
32+
- run: ./ppkg install uppm
33+
- run: ./ppkg tree uppm
3134

3235

3336
- run: echo "SSL_CERT_FILE=$HOME/.ppkg/core/cacert.pem" >> $GITHUB_ENV
@@ -41,8 +44,8 @@ jobs:
4144
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm -h
4245
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm -V
4346

44-
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm env
45-
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm env -v
47+
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm about
48+
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm about -v
4649

4750
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm integrate zsh
4851

.github/workflows/rockylinux.yml

+12-10
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,18 @@ jobs:
2626
2727
- uses: actions/checkout@main
2828

29-
- name: install ppkg
30-
run: |
31-
curl -LO https://raw.githubusercontent.com/leleliu008/ppkg/master/ppkg
32-
chmod a+x ppkg
33-
./ppkg setup
3429

35-
- run: ./ppkg update
36-
- run: ./ppkg install uppm
37-
- run: ./ppkg tree uppm
30+
- run: curl -LO https://raw.githubusercontent.com/leleliu008/ppkg/master/ppkg
31+
- run: chmod a+x ppkg
3832

33+
- run: ./ppkg setup
34+
- run: ./ppkg update
35+
36+
- run: |
37+
echo "src-url: dir://$PWD" >> ~/.ppkg/repos.d/official-core/formula/uppm.yml
38+
39+
- run: ./ppkg install uppm
40+
- run: ./ppkg tree uppm
3941

4042

4143
- run: echo "SSL_CERT_FILE=$HOME/.ppkg/core/cacert.pem" >> $GITHUB_ENV
@@ -49,8 +51,8 @@ jobs:
4951
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm -h
5052
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm -V
5153

52-
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm env
53-
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm env -v
54+
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm about
55+
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm about -v
5456

5557
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm integrate zsh
5658

.github/workflows/ubuntu.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ jobs:
5858
- run: ./output/bin/uppm -h
5959
- run: ./output/bin/uppm -V
6060

61-
- run: ./output/bin/uppm env
62-
- run: ./output/bin/uppm env -v
61+
- run: ./output/bin/uppm about
62+
- run: ./output/bin/uppm about -v
6363

6464
- run: ./output/bin/uppm integrate zsh
6565

.github/workflows/valgrind.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ jobs:
5555
- run: $VALGRIND ./output/bin/uppm -h
5656
- run: $VALGRIND ./output/bin/uppm -V
5757

58-
- run: $VALGRIND ./output/bin/uppm env
59-
- run: $VALGRIND ./output/bin/uppm env -v
58+
- run: $VALGRIND ./output/bin/uppm about
59+
- run: $VALGRIND ./output/bin/uppm about -v
6060

6161
- run: $VALGRIND ./output/bin/uppm integrate zsh
6262

0 commit comments

Comments
 (0)