-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathrecipe_dev_python.sh
executable file
·43 lines (38 loc) · 1.08 KB
/
recipe_dev_python.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#!/bin/bash
#/*
# * This file is part of TangoMan Provisions package.
# *
# * Copyright (c) 2025 "Matthias Morin" <mat@tangoman.io>
# *
# * This source file is subject to the MIT license that is bundled
# * with this source code in the file LICENSE.
# */
#/**
# * recipe dev python
# *
# * @license MIT
# * @author "Matthias Morin" <mat@tangoman.io>
# */
CURDIR=$(dirname "$(realpath "${BASH_SOURCE[0]}")")
# shellcheck source=/dev/null
. "${CURDIR}/tools/src/colors/colors.sh"
UPDATE=true
OPTIND=0
while getopts :nh OPTION; do
case "${OPTION}" in
n) UPDATE=false;;
h) echo_warning "$(basename "${0}")";
echo_success 'description:' 2 14; echo_primary 'Recipe to provision javascript python environement\n'
echo_success 'usage:' 2 14; echo_primary "$(basename "${0}") -n (no-update) -h (help)\n"
exit 0;;
\?) echo_danger "error: invalid option \"${OPTARG}\"\n"
exit 1;;
esac
done
if [ "${UPDATE}" = true ]; then
./update.sh
./upgrade.sh
fi
# ides
./ide/config_pycharm-community.sh
./ide/install_pycharm-community.sh