diff --git a/spcd.sh b/spcd.sh index ce27397..66b6ffe 100644 --- a/spcd.sh +++ b/spcd.sh @@ -10,9 +10,10 @@ # main spcd_main() { spcd_list_environment_variables + spcd_set_environment_variables + # spcd_list_working_directory # - spcd_set_environment_variables spcd_set_packages_repositories spcd_set_packages_configuration # @@ -38,7 +39,7 @@ spcd_main() { spcd_switch_to_python "${@}" } -# context +# steps spcd_list_environment_variables() { spcd_step "List environment variables" @@ -49,14 +50,6 @@ spcd_list_environment_variables() { done } -spcd_list_working_directory() { - spcd_step "List working directory" - spcd_lwd__path="$(realpath .)" - spcd_ls "${spcd_lwd__path}" -} - -# steps - spcd_set_environment_variables() { spcd_step "Set environment variables" # continuous integration platform @@ -448,6 +441,12 @@ Acquire::https::Verify-Peer False; esac } +spcd_list_working_directory() { + spcd_step "List working directory" + spcd_lwd__path="$(realpath .)" + spcd_ls "${spcd_lwd__path}" +} + spcd_set_packages_repositories() { spcd_step "Set packages repositories" case "${SPCD_OS_ID}" in