Edit

kmx.io/shpkg/bin/shpkg_ci

Branch :

  • bin/shpkg_ci
  • #!/bin/sh
    
    set -e -o pipefail
    
    # shpkg
    
    : ${SHPKG_DIR:=~/shpkg}
    
    . "${SHPKG_DIR}/etc/shpkg/profile"
    
    . "${SHPKG_DIR}/share/shpkg/shpkg.subr"
    
    if [ "x$1" = "x-qqq" ]; then
        export SHPKG_VERBOSE=0
        shift
    elif [ "x$1" = "x-qq" ]; then
        export SHPKG_VERBOSE=1
        shift
    elif [ "x$1" = "x-q" ]; then
        export SHPKG_VERBOSE=2
        shift
    fi
    
    shpkg_config
    
    verbose 2 shpkg_lock shpkg_ci.lock
    
    verbose 2 shpkg_upgrade
    
    if [ "x$1" = "x--clean" ]; then
        verbose 1 rm -rf "${SHPKG_CI_DIR}"
        exit
    elif [ "x$1" = "x--upgrade" ]; then
        exit
    fi
    
    shpkg_log shpkg_ci shpkg_ci_main "$@"