From 5aaa437dd8be48b40963aa9703dbc077cb47e371 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sat, 23 Mar 2024 19:44:27 +0100 Subject: [PATCH 1/3] clone-python --- cd-clone-python | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 cd-clone-python diff --git a/cd-clone-python b/cd-clone-python new file mode 100755 index 0000000..52eb00e --- /dev/null +++ b/cd-clone-python @@ -0,0 +1,15 @@ +[ "${1}" ] && REPOSITORY_FULL="${1}" || exit +REPOSITORY_NAME="$(basename ${REPOSITORY_FULL})" + +REPOSITORY_TEMP="$(mktemp --directory)" + +git clone \ +-- \ +"${GITHUB_SERVER_URL}/${REPOSITORY_FULL}" \ +"${REPOSITORY_TEMP}" + +mv "${REPOSITORY_TEMP}/${REPOSITORY_NAME}" \ +/usr/local/lib/python3.*/dist-packages/ + +rm --force --recursive \ +"${REPOSITORY_TEMP}" From dffda8c1ecdc0636e0b040d36adf08950109847f Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sat, 23 Mar 2024 19:50:20 +0100 Subject: [PATCH 2/3] build --- cd-build-project | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/cd-build-project b/cd-build-project index b8e5ffd..8a5035b 100755 --- a/cd-build-project +++ b/cd-build-project @@ -1,3 +1,7 @@ -./build.py \ -|| \ -./build.sh +if [ -x './build.py' ] ; then + ./build.py +elif [ -x './build.sh' ] ; then + ./build.sh +else + exit +fi From 245a071852f0e64e54c20a5e761965cb88bc2866 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sat, 23 Mar 2024 21:13:10 +0100 Subject: [PATCH 3/3] synchronize --- cd-synchronize-output => cd-synchronize | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename cd-synchronize-output => cd-synchronize (100%) diff --git a/cd-synchronize-output b/cd-synchronize similarity index 100% rename from cd-synchronize-output rename to cd-synchronize