Skip to content

Commit

Permalink
Rearranging files into standard unix dirs
Browse files Browse the repository at this point in the history
  • Loading branch information
emilhdiaz committed Oct 15, 2020
1 parent 5de1fc4 commit 0e44b2c
Show file tree
Hide file tree
Showing 37 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions vulcan → bin/vulcan
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ Global Options:
"

# Imports
DIR="$( cd "$( dirname "${(%):-%x}" )" >/dev/null 2>&1 && pwd )"
source ${DIR}/lib/install.sh
DIR="$(dirname "$(greadlink -f "$0")")"
source ${DIR}/../libexec/install.sh

# Arguments
ACTION=$(parse_arg 'ACTION' 1 'install' "$@")
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions lib/installers/darwin.sh → libexec/installers/darwin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ darwin_install_or_upgrade_package() {
return
fi

local INSTALL_SCRIPT="${INSTALLERS_DIR}/../../packages/${INSTALLER}/$(echo ${PROGRAM} | sed -e 's/\//_/')-install.sh"
local CONFIGURE_SCRIPT="${INSTALLERS_DIR}/../../packages/${INSTALLER}/$(echo ${PROGRAM} | sed -e 's/\//_/')-configure.sh"
local INSTALL_SCRIPT="${INSTALLERS_DIR}/../packages/${INSTALLER}/$(echo ${PROGRAM} | sed -e 's/\//_/')-install.sh"
local CONFIGURE_SCRIPT="${INSTALLERS_DIR}/../packages/${INSTALLER}/$(echo ${PROGRAM} | sed -e 's/\//_/')-configure.sh"

# install via custom script
if [ -f "${INSTALL_SCRIPT}" ]; then
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

VERSION=$1
PROGRAMS_DIR="$( cd "$( dirname "${(%):-%x}" )" >/dev/null 2>&1 && pwd )"
source ${PROGRAMS_DIR}/../../lib/installers/asdf.sh
source ${PROGRAMS_DIR}/../../installers/asdf.sh

asdf_install_or_upgrade_package helmsman "${VERSION}" --plugin https://github.com/jkrukoff-cb/asdf-helmsman.git
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

VERSION=$1
PROGRAMS_DIR="$( cd "$( dirname "${(%):-%x}" )" >/dev/null 2>&1 && pwd )"
source ${PROGRAMS_DIR}/../../lib/installers/asdf.sh
source ${PROGRAMS_DIR}/../../installers/asdf.sh

bash -c '${ASDF_DATA_DIR:=$HOME/.asdf}/plugins/nodejs/bin/import-release-team-keyring' > /dev/null 2>&1
asdf_install_or_upgrade_package nodejs "${VERSION}"
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

VERSION=$1
PROGRAMS_DIR="$( cd "$( dirname "${(%):-%x}" )" >/dev/null 2>&1 && pwd )"
source ${PROGRAMS_DIR}/../../lib/installers/asdf.sh
source ${PROGRAMS_DIR}/../../installers/asdf.sh

asdf_install_or_upgrade_package python "${VERSION}"
pip3 install --upgrade pip > /dev/null 2>&1
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 0e44b2c

Please sign in to comment.