Skip to content

Commit

Permalink
commit 827827430 on 20211024
Browse files Browse the repository at this point in the history
  • Loading branch information
SDRausty committed Oct 24, 2021
1 parent 584d09f commit 4da48da
Show file tree
Hide file tree
Showing 4 changed files with 67 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .conf/VERSIONID
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.0.222
0.0.223
41 changes: 41 additions & 0 deletions build.repo+.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
#!/usr/bin/env bash
# Copyright 2021 (c) all rights reserved by BuildAPKs; see LICENSE
# https://buildapks.github.io published courtesy https://pages.github.com
################################################################################
set -eu
shopt -s nullglob globstar
export RDR="$HOME/buildAPKs"
if [ $# != 1 ]
then # print help
printf "\\n%s\\n\\n%s\\n\\n%s\\n\\n" "The ${0##*/} command has been tested with https://github.com/search and https://gitlab.com/explore successfully. Share addresses to sourcecode at https://github.com/BuildAPKs in order to help develop this software if you find APK repo candidates for inclusion." "EXAMPLE USAGE: ${0##*/} https://github.com/BuildAPKs/buildAPKs.entertainment" "If you find repo candidates for inclusion, please share addresses to sourcecode at https://github.com/BuildAPKs in order to help develop this software. Thank you for using ${0##*/}; Enjoy🎵🎶"
exit
fi
_CLONEBUILD_() {
cd "$RDR/sources/$SITENAME/$LOGINAME" && git clone --depth 1 "$@" --single-branch && cd "$REPONAME" && (_IAR_ "$(pwd)" || _SIGNAL_ "135" "${0##*/} _CLONEBUILD_ _IAR_") && "$RDR/scripts/bash/build/build.in.dir.bash"
}
BASENAME="${@%/}" # strip trailing slash
BASENAME="${BASENAME#*//}" # strip before double slash
REPONAME="${BASENAME##*/}" # strip before last slash
LOGINAME="${BASENAME%/*}" # strip after last slash
LOGINAME="${LOGINAME##*/}" # strip before last slash
SITENAME="${BASENAME%%/*}" # strip after first slash
if [ ! -n "${LOGINAME:-}" ] || [ ! -n "${REPONAME:-}" ] || [ ! -n "${SITENAME:-}" ] # any variable or more is empty
then # exit
printf "%s\\n" "EXCEPTION processing $@ in directory ~/${RDR##*/}/sources/$SITENAME/$LOGINAME/$REPONAME: EXITING..."
exit 101
fi
printf "%s\\n" "Processing $@ in directory ~/${RDR##*/}/sources/$SITENAME/$LOGINAME/$REPONAME:"
. "$RDR"/scripts/bash/shlibs/buildAPKs/prep.bash
sleep 1.6
if [ -d "$RDR/sources/$SITENAME/$LOGINAME/$REPONAME" ]
then
cd "$RDR/sources/$SITENAME/$LOGINAME/$REPONAME" && (_IAR_ "$(pwd)" || _SIGNAL_ "134" "${0##*/} _IAR_") && "$RDR/scripts/bash/build/build.in.dir.bash"
elif [ -d "$RDR/sources/$SITENAME/$LOGINAME" ]
then
_CLONEBUILD_ "$@"
else
mkdir -p "$RDR/sources/$SITENAME/$LOGINAME"
_CLONEBUILD_ "$@"
fi
printf '\n%s\n\n' "Please share information about new projects found at https://github.com/BuildAPKs/db.BuildAPKs/issues and https://github.com/BuildAPKs/db.BuildAPKs/pulls in order to help this project out."
# build.repo.bash OEF
24 changes: 22 additions & 2 deletions build.repo.bash
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,35 @@ then # print help
exit
fi
_CLONEBUILD_() {
cd "$RDR/sources/$SITENAME/$LOGINAME" && git clone --depth 1 "$@" --single-branch && cd "$REPONAME" && (_IAR_ "$(pwd)" || _SIGNAL_ "135" "${0##*/} _CLONEBUILD_ _IAR_") && "$RDR/scripts/bash/build/build.in.dir.bash"
_ANTBUILD_() {
ANTBUILD="$(find "$RDR/sources/$SITENAME/$LOGINAME/$REPONAME" -type f -name build.xml)"
if [[ -z "${ANTBUILD:-}" ]]
then
for BUILDXML in $ANTBUILD
do
cd ${BUILDXML%/*} ; pwd ; ant
done
fi
}
_COMBUILD_() {
COMPILSH="$(find "$RDR/sources/$SITENAME/$LOGINAME/$REPONAME" -type f -name compile.sh)"
if [[ -z "${COMPILSH:-}" ]]
then
for COMPFILE in $COMPILSH
do
cd ${COMPFILE%/*} ; pwd ; $COMPFILE
done
fi
}
cd "$RDR/sources/$SITENAME/$LOGINAME" && git clone --depth 1 "$@" --single-branch && cd "$REPONAME" && (_IAR_ "$(pwd)" || _SIGNAL_ "135" "${0##*/} _CLONEBUILD_ _IAR_") && _COMBUILD_ && _ANTBUILD_ && "$RDR/scripts/bash/build/build.in.dir.bash"
}
BASENAME="${@%/}" # strip trailing slash
BASENAME="${BASENAME#*//}" # strip before double slash
REPONAME="${BASENAME##*/}" # strip before last slash
LOGINAME="${BASENAME%/*}" # strip after last slash
LOGINAME="${LOGINAME##*/}" # strip before last slash
SITENAME="${BASENAME%%/*}" # strip after first slash
if [ ! -n "${LOGINAME:-}" ] || [ ! -n "${REPONAME:-}" ] || [ ! -n "${SITENAME:-}" ] # any variable or more is empty
if [ -z "${LOGINAME:-}" ] || [ -z "${REPONAME:-}" ] || [ -z "${SITENAME:-}" ] # any variable or more is empty
then # exit
printf "%s\\n" "EXCEPTION processing $@ in directory ~/${RDR##*/}/sources/$SITENAME/$LOGINAME/$REPONAME: EXITING..."
exit 101
Expand Down
5 changes: 3 additions & 2 deletions sha512.sum
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
2d8f24aab35f90892abdaaa0099af6b66d037793ba5258d41c13025c6db9069794f43adc33943c19fd45bb6568fd940f22cb0389cab357457669c7e2d2f5b3fb ./.conf/VERSIONID
684ed173a758114a161bf44249eef12e09782c379c4b087ece332e9bde52bbbe4c7800cfeb2e351d0ac2f6f5430b0bcdc017b886565e0bcf2065d873bb555846 ./.conf/VERSIONID
05a502a845e35bc0495a3a3006ae914785c48679dddd362bd98bd33c306ed2aa8fac57344b1b65955d41755c3967f3e991770764f6c2f14c6a52f3e52e00ef1c ./.github/FUNDING.yml
ec770c00aa2c6225a2e27e8f08bd3d1eb8882f2cde94c820ab48db0b0fb0175913cd43a851904ff015c95f1fa31bb787383608cf19eb9d34f572b5fa8f9250ab ./.github/workflows/greetings.yml
5e20f4451f28b2ad8cd03e174bafa7c5d2d08cb3d9c6364a1f36b47fa1a2ae7e222970337f1481f149b6f87894f59e113bc49924776d558f0eb0773f6eebcd56 ./.github/workflows/label.yml
Expand All @@ -11,7 +11,7 @@ fdbfc92756d0db9f2d22583ad4842e04d6064482e6a88be8fa76f13f790121d04b77442f6348d575
4a02c661251587cc49e9f3ed06e8842ab293bd7774b2b6c314624039e3b5c21792df54d91971dcacfb117c9e010e9a91b78d3341266042d0dae8d397a1fe8dfc ./build.github.sequential.bash
72772f5c17a060f86cdf2be2b31324f5a2f2939194aabe389df3d20c55810f1e4a85cc4c2c6f5b46364bf86ed20ab861a3b6499f7b7dc6baf1240b87a2e872c6 ./build.github.tarballs.bash
e4431e7a8594f63bc7e8721dc1f6eaf01fe1c2aac004481102c8dd032404ccc6fb453987c92aa15da3f7e12bdecdb4aebbd3b27b6c7f9fa3a1be1e10765d9f93 ./build.github.topics.bash
56620c222affa9f9ecf32a32b32e2f4f002f3b2357c0ab99d8959b24bdccf9a44f42f10a847e30f8280b13a0e6070b67df2cb940d78f8304ebaccc45849b2d29 ./build.repo.bash
a0ea5fe02f31ddfcab29e770d5a69f96515d845509adfeb378a23f7428baa0550d18ac0e7464d654e0191a3c010eea60ee65b94d92cc0de556eb8cc8b9caa767 ./build.repo.bash
db597b0d88f9153f42aa8996a42b339529bcd21396e8dd1e219169625349c0ae309bf10b54f09ebf0517df2785df24df288388cbe453d380de004301ed175548 ./download.github.bash
1f2a9bcd76a6795e7eed0f4fc05f7746a0db905116badac5af9a8a8b479d3a6e1ec416507c99dff5b0f768a965f71bb8699a81eb555b93c2fe8693d6e817e3f2 ./scripts/bkp/build.github.topics.bkp.bash
27e409f0253d8b21d1d45c305b94b56ede348597d6962d9537d52d57ce0007bc14fa46819532ccda86c940ebb1a20f7c2d2505322ee16dbe3dcfc1757d848343 ./scripts/bkp/build.github.topics30.bash
Expand Down Expand Up @@ -42,3 +42,4 @@ a677d48b62cbc85d9d7c72aa4e094e712074a2a777b2d7cc004813836989358169e6495d0638441e
1980c1668f445bfafeb11957669c7a0df9d0419f17ac1bf89251460a9ad75690afabe9be9795afd88a2c62b205d0f4a7cf0c2a8350edae70434d12f9b221dd6c ./scripts/queries/static/urg
75fd1dee54225d396658bef9e48726638f50909fc69cb0baffca4bbff8d71aacada1d59a3c89b84b05c1f4a9286e2c51ab19a287853e434b96566c40924dd7fd ./scripts/rm.NCOMMIT.ck.bash
e44c075de70c2dee808e84743a11396da986fe98cd0536980cefd6c9332e3835dc1cf9806ebda6b72864ab36046404f5ad20b888f6b0ea94a447507ca763e685 ./README
56620c222affa9f9ecf32a32b32e2f4f002f3b2357c0ab99d8959b24bdccf9a44f42f10a847e30f8280b13a0e6070b67df2cb940d78f8304ebaccc45849b2d29 ./build.repo+.bash

1 comment on commit 4da48da

@SDRausty
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.