summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/makeppa2
-rwxr-xr-xscripts/makeself/build-runfile.sh67
-rw-r--r--scripts/makeself/header8
-rw-r--r--scripts/makeself/lsm15
4 files changed, 1 insertions, 91 deletions
diff --git a/scripts/makeppa b/scripts/makeppa
index 53b559e10..2cf5fcc24 100755
--- a/scripts/makeppa
+++ b/scripts/makeppa
@@ -32,7 +32,7 @@ basename=xmake-$version+$patch$serie
tarball=$workdir/$basename.tar.gz
if [ ! -f $tarball ]; then
cd core
- xmake pack --autobuild=n --formats=targz --basename=xmake -o ../artifacts xmakesrc || exit -1
+ xmake pack --autobuild=n -y --formats=srctargz --basename=xmake -o ../artifacts xmakesrc || exit -1
cd ..
cp ./artifacts/xmake.tar.gz $tarball
fi
diff --git a/scripts/makeself/build-runfile.sh b/scripts/makeself/build-runfile.sh
deleted file mode 100755
index d3149a2cd..000000000
--- a/scripts/makeself/build-runfile.sh
+++ /dev/null
@@ -1,67 +0,0 @@
-#!/usr/bin/env bash
-
-# path constants
-cd "$(dirname "$0")/../.."
-xmakeroot=`pwd`
-buildroot=$xmakeroot/scripts/makeself
-artifactsdir=$xmakeroot/artifacts
-if [ ! -d $artifactsdir ]; then
- mkdir $artifactsdir
-fi
-tmpdir=/tmp/xmake-makeself
-if [ -d $tmpdir ]; then
- rm -rf $tmpdir
-fi
-mkdir -p $tmpdir
-
-# copy xmake repo to tmpdir/repo, remove git ignored files
-cp -r $xmakeroot $tmpdir/repo
-cd $tmpdir/repo || exit
-git reset --hard HEAD
-git clean -dfX
-git submodule foreach git clean -dfX
-
-# copy files to tmpdir/xmake
-mkdir -p $tmpdir/xmake/scripts
-cd $tmpdir/repo || exit
-cp -r ./xmake $tmpdir/xmake/xmake
-cp -r ./core $tmpdir/xmake
-cp ./scripts/*.sh $tmpdir/xmake/scripts
-cp ./*.md $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
-rm -rf ./core/src/pdcurses
-rm -rf ./core/src/luajit
-
-# prepare info texts
-cd $tmpdir
-cp $buildroot/* .
-version=`cat ./xmake/core/xmake.lua | grep -E "^set_version" | grep -oE "[0-9]*\.[0-9]*\.[0-9]*"`
-perl -pi -e "s/#xmake-version#/$version/g" ./header
-perl -pi -e "s/#xmake-version#/$version/g" ./lsm
-
-# make run file
-cd $tmpdir
-makeself_version="2.5.0"
-curl -fsSL https://github.com/megastep/makeself/releases/download/release-$makeself_version/makeself-$makeself_version.run -o ./makeself-$makeself_version.run
-sh ./makeself-$makeself_version.run
-./makeself-$makeself_version/makeself.sh \
- --gzip \
- --sha256 \
- --lsm ./lsm \
- --help-header ./header \
- ./xmake \
- $artifactsdir/xmake.gz.run \
- xmake-v$version-runfile \
- ./scripts/get.sh __local__
-./makeself-$makeself_version/makeself.sh \
- --xz \
- --sha256 \
- --lsm ./lsm \
- --help-header ./header \
- ./xmake \
- $artifactsdir/xmake.xz.run \
- xmake-v$version-runfile \
- ./scripts/get.sh __local__
diff --git a/scripts/makeself/header b/scripts/makeself/header
deleted file mode 100644
index f247ee7bd..000000000
--- a/scripts/makeself/header
+++ /dev/null
@@ -1,8 +0,0 @@
-xmake v#xmake-version#, A cross-platform build utility based on Lua
-Copyright (C) 2015-present Ruki Wang, tboox.org, xmake.io
- _
- __ ___ __ __ __ _| | ______
- \ \/ / | \/ |/ _ | |/ / __ \
- > < | \__/ | /_| | < ___/
- /_/\_\_|_| |_|\__ \|_|\_\____|
- by ruki, xmake.io
diff --git a/scripts/makeself/lsm b/scripts/makeself/lsm
deleted file mode 100644
index 012efa4a1..000000000
--- a/scripts/makeself/lsm
+++ /dev/null
@@ -1,15 +0,0 @@
-Begin3
-Title: xmake
-Version: #xmake-version#
-Description: xmake is a cross-platform build utility based on lua.
- The project focuses on making development and building easier and
- provides many features (e.g package, install, plugin, macro, action, option, task ...),
- so that any developer can quickly pick it up and
- enjoy a productivity boost when developing and building projects.
-Keywords: make build
-Author: ruki ([email protected])
-Maintained-by: ruki ([email protected])
-Original-site: https://xmake.io/
-Platform: Unix; Windows
-Copying-policy: Apache-2.0
-End