mirror of
https://github.com/libretro/libretro-super
synced 2025-01-06 06:56:56 +00:00
Add post_error_log
This commit is contained in:
parent
ddfdfe25ce
commit
a07d978886
@ -51,6 +51,12 @@ if [ "$platform" = "theos_ios" ]; then
|
||||
CORE_PREFIX="objs/obj/"
|
||||
fi
|
||||
|
||||
post_error_log() {
|
||||
error=`cat $WORKDIR/log/$1.log | tail -n 100`
|
||||
haste=`curl -s -XPOST http://hastebin.com/documents -d"$error"`
|
||||
haste=`echo $haste | cut -d"\"" -f4`
|
||||
echo "$1 build failed (platform: $2) LOG: http://hastebin.com/$haste"
|
||||
}
|
||||
|
||||
build_summary_log() {
|
||||
# Trailing spaces are intentional here
|
||||
@ -58,6 +64,7 @@ build_summary_log() {
|
||||
export build_success="$build_success$2 "
|
||||
else
|
||||
export build_fail="$build_fail$2 "
|
||||
#post_error_log $2
|
||||
fi
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user