mirror of
https://github.com/libretro/libretro-super
synced 2025-02-21 12:40:39 +00:00
Change default build revisions dir and make it configurable
This commit is contained in:
parent
3f75551af9
commit
94275bac9a
@ -47,9 +47,11 @@ build_summary_log() {
|
||||
}
|
||||
|
||||
build_should_skip() {
|
||||
build_revision_file="$WORKDIR/build_revisions/$1"
|
||||
|
||||
[ -z "$SKIP_UNCHANGED" ] && return 1
|
||||
|
||||
[ -z "$BUILD_REVISIONS_DIR" ] && BUILD_REVISIONS_DIR="$WORKDIR/build-revisions"
|
||||
build_revision_file="$BUILD_REVISIONS_DIR/$1"
|
||||
|
||||
[ ! -r "$build_revision_file" ] && return 1
|
||||
|
||||
read previous_revision < "$build_revision_file"
|
||||
|
@ -108,6 +108,10 @@ echo "STRIP = $STRIP"
|
||||
|
||||
mkdir -p "$RARCH_DIST_DIR"
|
||||
|
||||
if [ -n "$SKIP_UNCHANGED" ]; then
|
||||
mkdir -p "$BUILD_REVISIONS_DIR"
|
||||
fi
|
||||
|
||||
if [ -n "$1" ]; then
|
||||
while [ -n "$1" ]; do
|
||||
"$1"
|
||||
|
@ -209,6 +209,9 @@ BUILD_SUMMARY="$WORKDIR/build-summary.log"
|
||||
# Set this to enable the feature
|
||||
#SKIP_UNCHANGED=1
|
||||
|
||||
# Set this if you don't like the default
|
||||
#BUILD_REVISIONS_DIR="$WORKDIR/build-revisions"
|
||||
|
||||
|
||||
#USER DEFINES
|
||||
#------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user