diff options
| author | ruki <[email protected]> | 2022-12-23 23:01:16 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-12-23 12:10:15 +0800 |
| commit | d46b367e720781995c699d7ecdd0a00cbf780266 (patch) | |
| tree | 046dbcd73d712e75bce0358d32a48f9a3eaa19e4 /scripts | |
| parent | 9a1bd4627bc2cbbffc01341a3f4e6671c3bb126b (diff) | |
update scripts
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/archive-all | 1 | ||||
| -rwxr-xr-x | scripts/makepkg | 5 | ||||
| -rwxr-xr-x | scripts/makeself/build-runfile.sh | 2 |
3 files changed, 5 insertions, 3 deletions
diff --git a/scripts/archive-all b/scripts/archive-all index d61788fc7..79756cb1e 100755 --- a/scripts/archive-all +++ b/scripts/archive-all @@ -29,6 +29,7 @@ cp -r ./scripts/man $tmpdir/xmake/scripts cp -r ./scripts/debian $tmpdir/xmake/scripts cp ./*.md $tmpdir/xmake cp makefile $tmpdir/xmake +cp configure $tmpdir/xmake cd $tmpdir/xmake || exit rm -rf ./core/src/tbox/tbox/src/demo rm -rf ./core/src/luajit diff --git a/scripts/makepkg b/scripts/makepkg index 1967694d8..1aa62079e 100755 --- a/scripts/makepkg +++ b/scripts/makepkg @@ -48,12 +48,13 @@ if [ `uname` == "Darwin" ]; then fi # build first -make build +./configure +make # make dep package using fpm fpm -s dir -t $target -n xmake -v $version -m "<[email protected]>" --description "A cross-platform build utility based on Lua" --url "xmake.io" --license Apache \ xmake=/usr/local/share/ \ - core/src/demo/demo.b=/usr/local/bin/xmake \ + build/xmake=/usr/local/bin/xmake \ scripts/xrepo.sh=/usr/local/bin/xrepo if [ "$target" == "osxpkg" ]; then mv "xmake-$version.pkg" "$artifactsdir/xmake.pkg" diff --git a/scripts/makeself/build-runfile.sh b/scripts/makeself/build-runfile.sh index 84bb1cad7..fbba59f4d 100755 --- a/scripts/makeself/build-runfile.sh +++ b/scripts/makeself/build-runfile.sh @@ -28,7 +28,7 @@ cp -r ./xmake $tmpdir/xmake/xmake cp -r ./core $tmpdir/xmake cp ./scripts/*.sh $tmpdir/xmake/scripts cp ./*.md $tmpdir/xmake -cp makefile $tmpdir/xmake +cp configure $tmpdir/xmake cd $tmpdir/xmake || exit rm -rf ./core/src/tbox/tbox/src/demo rm -rf ./core/src/tbox/tbox/src/tbox/platform/windows |
