summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2019-08-24 09:04:39 +0800
committerruki <[email protected]>2019-08-24 09:04:39 +0800
commit5dbd4ecab8f22d5b2b3f9eeb3f6d91fed94665a8 (patch)
tree757cde70b35b7cadeed180f7ceb3aaf1836f5cbd
parent75f4eab36fdd0a4bf90ad12a924d6ab153ddbcc1 (diff)
update scripts
-rw-r--r--.travis.yml6
-rwxr-xr-xscripts/archive-all.sh6
-rwxr-xr-xscripts/makeself/build-runfile.sh9
3 files changed, 9 insertions, 12 deletions
diff --git a/.travis.yml b/.travis.yml
index 245843c59..49141438e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -29,7 +29,7 @@ script:
- cp core/build/xmake "$XMAKE_PROGRAM_DIR" || sudo cp core/build/xmake "$XMAKE_PROGRAM_DIR"
- xmake --version
- travis_wait 60 xmake lua -v -D tests/run.lua
- - scripts/makeself/build-runfile.sh bzip2
- - ls -l scripts/makeself/xmake.bz2.run
- - scripts/makeself/xmake.bz2.run --info
+ - scripts/makeself/build-runfile.sh
+ - ls -l scripts/makeself/xmake.gz.run
+ - scripts/makeself/xmake.gz.run --info
diff --git a/scripts/archive-all.sh b/scripts/archive-all.sh
index fc8bbc1b5..aa320b6a6 100755
--- a/scripts/archive-all.sh
+++ b/scripts/archive-all.sh
@@ -36,9 +36,15 @@ fi
if [ -f "$outputfile.7z" ]; then
rm "$outputfile.7z"
fi
+if [ -f "$outputfile.tar.gz" ]; then
+ rm "$outputfile.tar.gz"
+fi
zip -qr "$outputfile.zip" .
7z a "$outputfile.7z" .
+tar -czf "$outputfile.tar.gz" .
shasum -a 256 "$outputfile.zip"
shasum -a 256 "$outputfile.7z"
+shasum -a 256 "$outputfile.tar.gz"
ls -l "$outputfile.zip"
ls -l "$outputfile.7z"
+ls -l "$outputfile.tar.gz"
diff --git a/scripts/makeself/build-runfile.sh b/scripts/makeself/build-runfile.sh
index a34fba938..85377dd82 100755
--- a/scripts/makeself/build-runfile.sh
+++ b/scripts/makeself/build-runfile.sh
@@ -52,15 +52,6 @@ sh ./makeself-2.4.0.run
xmake-v$version-runfile \
./scripts/get.sh __local__
./makeself-2.4.0/makeself.sh \
- --bzip2 \
- --sha256 \
- --lsm ./lsm \
- --help-header ./header \
- ./xmake \
- $buildroot/xmake.bz2.run \
- xmake-v$version-runfile \
- ./scripts/get.sh __local__
-./makeself-2.4.0/makeself.sh \
--xz \
--sha256 \
--lsm ./lsm \