-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathrecipe_dev_essentials.sh
executable file
·59 lines (50 loc) · 1.34 KB
/
recipe_dev_essentials.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#!/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 essentials
# *
# * @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 essential dev environment\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
# git
./dev/install_git.sh
./dev/config_git.sh
# github
./dev/install_github-cli.sh
# ide
./ide/config_visualstudiocode.sh
./ide/install_visualstudiocode.sh
./ide/install_vim.sh
# containers
./devops/install_docker-compose.sh
./devops/install_docker.io.sh
# network
./network/config_known_ssh_hosts.sh
./network/install_filezilla.sh