steps/env,pkg
This commit is contained in:
parent
ba4b428ede
commit
a014410c7f
1 changed files with 13 additions and 6 deletions
19
spcd/main.sh
19
spcd/main.sh
|
@ -28,12 +28,15 @@
|
|||
[ -n "${SPCD_URL_UBUNTU}" ] ||
|
||||
SPCD_URL_UBUNTU="https://ubuntu.mirrors.ovh.net"
|
||||
|
||||
# main
|
||||
# ╭───────╮
|
||||
# │ steps │
|
||||
# ╰───────╯
|
||||
|
||||
spcd_main() {
|
||||
# env
|
||||
spcd_set_environment_variables
|
||||
#
|
||||
spcd_list_working_directory
|
||||
#
|
||||
# pkg
|
||||
spcd_set_packages_repositories
|
||||
spcd_set_packages_configuration
|
||||
#
|
||||
|
@ -56,9 +59,9 @@ spcd_main() {
|
|||
spcd_switch_to_python
|
||||
}
|
||||
|
||||
# ╭───────╮
|
||||
# │ steps │
|
||||
# ╰───────╯
|
||||
# ╭───────┬─────╮
|
||||
# │ steps │ env │
|
||||
# ╰───────┴─────╯
|
||||
|
||||
spcd_set_environment_variables() {
|
||||
spcd_step "Set environment variables"
|
||||
|
@ -547,6 +550,10 @@ spcd_list_working_directory() {
|
|||
spcd_ls "${spcd_lwd__path}"
|
||||
}
|
||||
|
||||
# ╭───────┬─────╮
|
||||
# │ steps │ pkg │
|
||||
# ╰───────┴─────╯
|
||||
|
||||
spcd_set_packages_repositories() {
|
||||
spcd_step "Set packages repositories"
|
||||
case "${SPCD_OS_ID}" in
|
||||
|
|
Loading…
Reference in a new issue