dep

Package manager for embedded C libraries
git clone git://git.finwo.net/app/dep
Log | Files | Refs | README | LICENSE

commit 62c89568f82b1f52640b9232e9d6c75b3e6a49d5
parent ce743a7eac5ddfd8d07b88bdc14cb55247cbdefd
Author: finwo <finwo@pm.me>
Date:   Wed, 18 Oct 2023 00:17:46 +0200

Removed debug statements

Diffstat:
Mdist/dep | 7-------
Msrc/command/install/index.sh | 7-------
2 files changed, 0 insertions(+), 14 deletions(-)

diff --git a/dist/dep b/dist/dep @@ -311,20 +311,15 @@ function cmd_install_dep { # Fetch package.ini for the dependency mkdir -p "${CMD_INSTALL_PKG_DEST}/${name}" - echo "name : ${name}" - echo "origin: ${origin}" - echo "ext : ${origin##*.}" case "${origin##*.}" in ini) # Download the package.ini for the dependency - echo "pre-ini download" curl --location --progress-bar "${origin}" --output "${CMD_INSTALL_PKG_DEST}/${name}/package.ini" ;; *) # Download the assumed tarball mkdir -p "${CMD_INSTALL_PKG_DEST}/.dep/cache/${name}" if [ ! -f "${CMD_INSTALL_PKG_DEST}/.dep/cache/${name}/tarball-pkg" ]; then - echo "pre-tarball download A" curl --location --progress-bar "${origin}" --output "${CMD_INSTALL_PKG_DEST}/.dep/cache/${name}/tarball-pkg" fi # Extract tarball @@ -339,7 +334,6 @@ function cmd_install_dep { # Download mkdir -p "${CMD_INSTALL_PKG_DEST}/.dep/cache/${name}" if [ ! -f "${CMD_INSTALL_PKG_DEST}/.dep/cache/${name}/tarball-src" ]; then - echo "pre-tarball download B" curl --location --progress-bar "${SRC}" --output "${CMD_INSTALL_PKG_DEST}/.dep/cache/${name}/tarball-src" fi @@ -362,7 +356,6 @@ function cmd_install_dep { # Download the extra file into cache if [ ! -f "${CMD_INSTALL_PKG_DEST}/.dep/cache/${name}/fetch/${filename}" ]; then - echo "pre-fetch" curl --location --progress-bar "${filesource}" --create-dirs --output "${CMD_INSTALL_PKG_DEST}/.dep/cache/${name}/fetch/${filename}" fi diff --git a/src/command/install/index.sh b/src/command/install/index.sh @@ -79,20 +79,15 @@ function cmd_install_dep { # Fetch package.ini for the dependency mkdir -p "${CMD_INSTALL_PKG_DEST}/${name}" - echo "name : ${name}" - echo "origin: ${origin}" - echo "ext : ${origin##*.}" case "${origin##*.}" in ini) # Download the package.ini for the dependency - echo "pre-ini download" curl --location --progress-bar "${origin}" --output "${CMD_INSTALL_PKG_DEST}/${name}/package.ini" ;; *) # Download the assumed tarball mkdir -p "${CMD_INSTALL_PKG_DEST}/.__NAME/cache/${name}" if [ ! -f "${CMD_INSTALL_PKG_DEST}/.__NAME/cache/${name}/tarball-pkg" ]; then - echo "pre-tarball download A" curl --location --progress-bar "${origin}" --output "${CMD_INSTALL_PKG_DEST}/.__NAME/cache/${name}/tarball-pkg" fi # Extract tarball @@ -107,7 +102,6 @@ function cmd_install_dep { # Download mkdir -p "${CMD_INSTALL_PKG_DEST}/.__NAME/cache/${name}" if [ ! -f "${CMD_INSTALL_PKG_DEST}/.__NAME/cache/${name}/tarball-src" ]; then - echo "pre-tarball download B" curl --location --progress-bar "${SRC}" --output "${CMD_INSTALL_PKG_DEST}/.__NAME/cache/${name}/tarball-src" fi @@ -130,7 +124,6 @@ function cmd_install_dep { # Download the extra file into cache if [ ! -f "${CMD_INSTALL_PKG_DEST}/.__NAME/cache/${name}/fetch/${filename}" ]; then - echo "pre-fetch" curl --location --progress-bar "${filesource}" --create-dirs --output "${CMD_INSTALL_PKG_DEST}/.__NAME/cache/${name}/fetch/${filename}" fi