From d46b367e720781995c699d7ecdd0a00cbf780266 Mon Sep 17 00:00:00 2001 From: ruki Date: Fri, 23 Dec 2022 23:01:16 +0800 Subject: update scripts --- scripts/makepkg | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'scripts/makepkg') 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 "" --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" -- cgit v1.3.1