diff options
| author | ruki <[email protected]> | 2022-12-25 09:42:22 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-12-25 09:42:22 +0800 |
| commit | 038164b6056ec2fc521cdc796694282448c52995 (patch) | |
| tree | 624883580caaf542fd75b8ad70fdf1a55afbe909 | |
| parent | 2e5134b08e41ba3afb7975473601f4407a7334d5 (diff) | |
improve archive
| -rw-r--r-- | README.md | 3 | ||||
| -rw-r--r-- | README_zh.md | 3 | ||||
| -rwxr-xr-x | scripts/archive-all | 19 |
3 files changed, 10 insertions, 15 deletions
@@ -18,9 +18,6 @@ <a href="https://github.com/xmake-io/xmake/releases"> <img src="https://img.shields.io/github/release/xmake-io/xmake.svg?style=flat-square" alt="Github All Releases" /> </a> - <a href="https://aur.archlinux.org/packages/xmake"> - <img src="https://img.shields.io/aur/votes/xmake.svg?style=flat-square" alt="AUR votes" /> - </a> </div> <div> <a href="https://github.com/xmake-io/xmake/blob/master/LICENSE.md"> diff --git a/README_zh.md b/README_zh.md index 7d8e24912..dc8a9abaf 100644 --- a/README_zh.md +++ b/README_zh.md @@ -18,9 +18,6 @@ <a href="https://github.com/xmake-io/xmake/releases"> <img src="https://img.shields.io/github/release/xmake-io/xmake.svg?style=flat-square" alt="Github All Releases" /> </a> - <a href="https://aur.archlinux.org/packages/xmake"> - <img src="https://img.shields.io/aur/votes/xmake.svg?style=flat-square" alt="AUR votes" /> - </a> </div> <div> <a href="https://github.com/xmake-io/xmake/blob/master/LICENSE.md"> diff --git a/scripts/archive-all b/scripts/archive-all index bb07fe090..a0ca954da 100755 --- a/scripts/archive-all +++ b/scripts/archive-all @@ -20,16 +20,17 @@ git clean -dfX git submodule foreach git clean -dfX # copy files to tmpdir/xmake -mkdir -p $tmpdir/xmake/scripts +topdir=$tmpdir/xmake +mkdir -p $topdir/xmake/scripts cd $tmpdir/repo || exit -cp -r ./core $tmpdir/xmake -cp -r ./xmake $tmpdir/xmake/xmake -cp ./scripts/*.sh $tmpdir/xmake/scripts -cp -r ./scripts/man $tmpdir/xmake/scripts -cp -r ./scripts/debian $tmpdir/xmake/scripts -cp ./*.md $tmpdir/xmake -cp configure $tmpdir/xmake -cd $tmpdir/xmake || exit +cp -r ./core $topdir/xmake +cp -r ./xmake $topdir/xmake/xmake +cp ./scripts/*.sh $topdir/xmake/scripts +cp -r ./scripts/man $topdir/xmake/scripts +cp -r ./scripts/debian $topdir/xmake/scripts +cp ./*.md $topdir/xmake +cp configure $topdir/xmake +cd $topdir || exit rm -rf ./core/src/tbox/tbox/src/demo rm -rf ./core/src/luajit |
