Skip to content

Commit 41064df

Browse files
committed
! remove legacy bin 🚮
1 parent 5727aef commit 41064df

File tree

9 files changed

+11
-359
lines changed

9 files changed

+11
-359
lines changed

README.md

-7
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
- [📚 使用文档](#-%E4%BD%BF%E7%94%A8%E6%96%87%E6%A1%A3)
3838
- [`Java`相关脚本](#-java%E7%9B%B8%E5%85%B3%E8%84%9A%E6%9C%AC)
3939
- [🐚 `Shell`相关脚本](#-shell%E7%9B%B8%E5%85%B3%E8%84%9A%E6%9C%AC)
40-
- [`VCS`相关脚本](#-vcs%E7%9B%B8%E5%85%B3%E8%84%9A%E6%9C%AC)
4140
- [🎓 Developer Guide](#-developer-guide)
4241
- [🎯 面向开发者的目标](#-%E9%9D%A2%E5%90%91%E5%BC%80%E5%8F%91%E8%80%85%E7%9A%84%E7%9B%AE%E6%A0%87)
4342
- [关于`Shell`脚本](#%E5%85%B3%E4%BA%8Eshell%E8%84%9A%E6%9C%AC)
@@ -99,12 +98,6 @@ source <(curl -fsSL https://raw.githubusercontent.com/oldratlee/useful-scripts/r
9998
1. [parseOpts.sh](docs/shell.md#-parseoptssh)
10099
命令行选项解析库,加强支持选项有多个值(即数组)。
101100

102-
### [`VCS`相关脚本](docs/vcs.md)
103-
104-
目前`VCS`的脚本都是`svn`分支相关的操作。使用更现代的`Git`吧! 💥
105-
106-
因为不推荐使用`svn`,这里不再列出有哪些脚本了,如果你有兴趣可以点上面链接去看。
107-
108101
## 🎓 Developer Guide
109102

110103
为用户提供有用的功能,当然是这个库的首要的价值体现和存在理由。

docs/install.md

-11
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,6 @@ git pull
2525
- `dev-3.x`:开发分支
2626
- `release-3.x`:发布分支,功能稳定的脚本
2727

28-
当然如果你不想安装`git``github`是支持`svn`的:
29-
30-
```bash
31-
svn co https://github.com/oldratlee/useful-scripts/branches/release-3.x
32-
33-
cd useful-scripts
34-
35-
# 更新脚本
36-
svn up
37-
```
38-
3928
PS:
4029
我的做法是把`useful-scripts` checkout到`$HOME/bin`目录下,再把`$HOME/bin/useful-scripts/bin`配置到`PATH`变量上,这样方便我本地使用所有的脚本。
4130

docs/vcs.md

-114
This file was deleted.

legacy-bin/cp-svn-url

-83
This file was deleted.

legacy-bin/svn-merge-stop-on-copy

-89
This file was deleted.

legacy-bin/swtrunk

-50
This file was deleted.

test/bump-scripts-version.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,6 @@ cd -P -- "$(dirname -- "$0")"/..
6969

7070
# Bash Pitfalls#1
7171
# http://mywiki.wooledge.org/BashPitfalls#for_f_in_.24.28ls_.2A.mp3.29
72-
logAndRun find -D exec bin legacy-bin lib -type f -exec \
72+
logAndRun find -D exec bin lib -type f -exec \
7373
sed -ri "s/^(.*\bPROG_VERSION\s*=\s*')\S*('.*)$/\1$bump_version\2/" -- \
7474
{} +

test/lint.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ realpath() {
88
# cd to the root of the project
99
cd "$(dirname -- "$(realpath "${BASH_SOURCE[0]}")")"/..
1010

11-
find bin lib legacy-bin -type f |
11+
find bin lib -type f |
1212
grep -Pv '/show-duplicate-java-classes$' |
1313
grep -Pv '/\.editorconfig$' |
1414
xargs --verbose shellcheck --shell=bash

0 commit comments

Comments
 (0)