mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-25 01:16:31 -05:00
Compare commits
2 commits
ef3572ea73
...
9fc16eb4da
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9fc16eb4da | ||
|
|
064ee1dc50 |
3 changed files with 38 additions and 23 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -5,6 +5,7 @@
|
|||
*.txz
|
||||
*.deb
|
||||
*.rpm
|
||||
*.zst
|
||||
|
||||
# backups
|
||||
*~
|
||||
|
|
@ -63,6 +64,7 @@ pkg/.SRCINFO
|
|||
*.dst
|
||||
*.epr
|
||||
*.geany
|
||||
session.conf
|
||||
|
||||
# AFL
|
||||
makeafl.sh
|
||||
|
|
|
|||
26
makecheck.sh
26
makecheck.sh
|
|
@ -17,6 +17,30 @@ if ! $SOURCE/configure; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
if ! time make check; then
|
||||
if ! make -j4; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if ! make check; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if ! make distclean; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if ! $SOURCE/configure --host=x86_64-w64-mingw32.static --build=`$SOURCE/config.guess`; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if ! make -j4; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if ! make check; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if ! make distclean; then
|
||||
exit 1
|
||||
fi
|
||||
|
|
|
|||
33
makedist.sh
33
makedist.sh
|
|
@ -1,17 +1,6 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
|
||||
CHECK=check
|
||||
DEBUG=
|
||||
|
||||
if test "x$1" = "x-f"; then
|
||||
CHECK=all
|
||||
fi
|
||||
|
||||
if test "x$1" = "x-d"; then
|
||||
DEBUG=--enable-debug
|
||||
fi
|
||||
|
||||
# Ask root permissions at the start
|
||||
sudo echo We are root
|
||||
|
||||
|
|
@ -20,7 +9,15 @@ make distclean
|
|||
# Reconfigure (with force) to get the latest revision from git
|
||||
autoreconf -f
|
||||
|
||||
if ! ./configure.windows-x86 $DEBUG; then
|
||||
if ! ./configure ; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if ! make dist; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if ! ./configure.windows-x86; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
|
@ -32,11 +29,11 @@ if ! make distwindows-x86 distclean; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
if ! ./configure.windows-x64 $DEBUG; then
|
||||
if ! ./configure.windows-x64; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if ! make -j4 $CHECK; then
|
||||
if ! make -j4; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
|
@ -44,14 +41,6 @@ if ! make distwindows-x64 distclean; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
if ! ./configure ; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if ! make dist; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
sh makeslackdist.sh
|
||||
sh makearchdist.sh
|
||||
sudo sh makeslackware.sh
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue