Skip to content

Commit 5727aef

Browse files
committed
chore: update for upgrading version to 3.x; rename dir test-cases to test 🆙
1 parent d0ccd2b commit 5727aef

36 files changed

+40
-40
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
# https://docs.github.com/en/actions/learn-github-actions/variables#detecting-the-operating-system
2525
# https://docs.github.com/en/actions/learn-github-actions/expressions
2626
if: runner.os == 'macOS'
27-
- run: test-cases/integration-test.sh
27+
- run: test/integration-test.sh
2828
# https://remarkablemark.org/blog/2017/10/12/check-git-dirty/
2929
- name: Check git dirty
3030
run: |

.github/workflows/lint.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- uses: actions/checkout@v4
1616
with:
1717
submodules: recursive
18-
- run: test-cases/lint.sh
18+
- run: test/lint.sh
1919
# https://remarkablemark.org/blog/2017/10/12/check-git-dirty/
2020
- name: Check git dirty
2121
run: |

.gitmodules

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
[submodule "test-cases/shunit2"]
2-
path = test-cases/shunit2-lib
1+
[submodule "test/shunit2"]
2+
path = test/shunit2-lib
33
url = https://github.com/kward/shunit2.git

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# <div align="center"><a href="#dummy"><img src="https://github.com/oldratlee/useful-scripts/assets/1063891/990d7ab3-1a84-4024-b1c6-4c8d441dcfc6" alt="🐌 useful-scripts"></a></div>
22

33
<p align="center">
4-
<a href="https://github.com/oldratlee/useful-scripts/actions/workflows/ci.yaml"><img src="https://img.shields.io/github/actions/workflow/status/oldratlee/useful-scripts/ci.yaml?branch=dev-2.x&logo=github&logoColor=white" alt="Github Workflow Build Status"></a>
4+
<a href="https://github.com/oldratlee/useful-scripts/actions/workflows/ci.yaml"><img src="https://img.shields.io/github/actions/workflow/status/oldratlee/useful-scripts/ci.yaml?branch=dev-3.x&logo=github&logoColor=white" alt="Github Workflow Build Status"></a>
55
<a href="https://github.com/oldratlee/useful-scripts/releases"><img src="https://img.shields.io/github/release/oldratlee/useful-scripts.svg" alt="GitHub release"></a>
66
<a href="https://www.apache.org/licenses/LICENSE-2.0.html"><img src="https://img.shields.io/github/license/oldratlee/useful-scripts?color=4D7A97&logo=apache" alt="License"></a>
77
<a href="https://github.com/oldratlee/useful-scripts/stargazers"><img src="https://img.shields.io/github/stars/oldratlee/useful-scripts?style=flat" alt="GitHub Stars"></a>
@@ -52,7 +52,7 @@
5252
----------------------
5353

5454
```bash
55-
source <(curl -fsSL https://raw.githubusercontent.com/oldratlee/useful-scripts/release-2.x/test-cases/self-installer.sh)
55+
source <(curl -fsSL https://raw.githubusercontent.com/oldratlee/useful-scripts/release-3.x/test/self-installer.sh)
5656
```
5757

5858
更多下载&使用方式,参见[下载使用](docs/install.md)

bin/a2l

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# $ ./a2l arg1 arg2
77
# $ ./a2l *.txt
88
#
9-
# @online-doc https://github.com/oldratlee/useful-scripts/blob/dev-2.x/docs/shell.md#-a2l
9+
# @online-doc https://github.com/oldratlee/useful-scripts/blob/dev-3.x/docs/shell.md#-a2l
1010
# @author Jerry Lee (oldratlee at gmail dot com)
1111
set -eEuo pipefail
1212

bin/ap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# # print Absolute Path of arguments.
99
# $ ./ap a.txt ../dir1/b.txt
1010
#
11-
# @online-doc https://github.com/oldratlee/useful-scripts/blob/dev-2.x/docs/shell.md#-ap-and-rp
11+
# @online-doc https://github.com/oldratlee/useful-scripts/blob/dev-3.x/docs/shell.md#-ap-and-rp
1212
# @author Jerry Lee (oldratlee at gmail dot com)
1313
set -eEuo pipefail
1414

bin/c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# $ ls -l | c
88
# $ c -q < ~/.ssh/id_rsa.pub
99
#
10-
# @online-doc https://github.com/oldratlee/useful-scripts/blob/dev-2.x/docs/shell.md#-c
10+
# @online-doc https://github.com/oldratlee/useful-scripts/blob/dev-3.x/docs/shell.md#-c
1111
# @author Jerry Lee (oldratlee at gmail dot com)
1212
set -eEuo pipefail
1313

bin/coat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# $ coat /path/to/file1
88
# $ coat /path/to/file1 /path/to/file2
99
#
10-
# @online-doc https://github.com/oldratlee/useful-scripts/blob/dev-2.x/docs/shell.md#-coat
10+
# @online-doc https://github.com/oldratlee/useful-scripts/blob/dev-3.x/docs/shell.md#-coat
1111
# @author Jerry Lee (oldratlee at gmail dot com)
1212
set -eEuo pipefail
1313

bin/cp-into-docker-run

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# Example:
66
# cp-into-docker-run -c container_foo command_copied_into_container command_arg1
77
#
8-
# @online-doc https://github.com/oldratlee/useful-scripts/blob/dev-2.x/docs/shell.md#-cp-into-docker-run
8+
# @online-doc https://github.com/oldratlee/useful-scripts/blob/dev-3.x/docs/shell.md#-cp-into-docker-run
99
# @author Jerry Lee (oldratlee at gmail dot com)
1010
set -eEuo pipefail
1111

bin/echo-args

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# @Function
33
# print arguments in human and debugging friendly style.
44
#
5-
# @online-doc https://github.com/oldratlee/useful-scripts/blob/dev-2.x/docs/shell.md#-echo-args
5+
# @online-doc https://github.com/oldratlee/useful-scripts/blob/dev-3.x/docs/shell.md#-echo-args
66
# @author Jerry Lee (oldratlee at gmail dot com)
77
set -eEuo pipefail
88

0 commit comments

Comments
 (0)