mirror of
https://github.com/ViViDboarder/shoestrap.git
synced 2024-11-21 11:46:31 +00:00
Add hass cookbook
This commit is contained in:
parent
50a82bf7ba
commit
723709f60f
31
hass
Executable file
31
hass
Executable file
@ -0,0 +1,31 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Get current directory for future use in links
|
||||
cd "$(dirname "$0")" || { echo "Could not change directory to $0"; exit 1;}
|
||||
PROJECT_DIR=$(pwd)
|
||||
export PROJECT_DIR
|
||||
|
||||
# Initialization - DO NOT REMOVE
|
||||
. "$PROJECT_DIR/helpers/initialize"
|
||||
|
||||
##############################################################
|
||||
### Customizations start here ################################
|
||||
##############################################################
|
||||
|
||||
init_paths_and_vars
|
||||
|
||||
### Run recipes
|
||||
recipe 'packages'
|
||||
recipe 'dotfiles'
|
||||
recipe 'bin'
|
||||
recipe 'git'
|
||||
recipe 'vim-settings'
|
||||
|
||||
if command_exist 'fish' || is_installed 'build-fish' ; then
|
||||
recipe 'fish'
|
||||
fi
|
||||
|
||||
### Show the Finished banner
|
||||
finished
|
||||
|
||||
# vim: set tabstop=2:softtabstop=2:shiftwidth=2:expandtab
|
20
recipes/hass/packages
Executable file
20
recipes/hass/packages
Executable file
@ -0,0 +1,20 @@
|
||||
#! /bin/bash
|
||||
|
||||
sudo_package_update
|
||||
|
||||
# This now installs a lot of language specific stuff from python, gradle, to go.
|
||||
# Should consider pulling these into different recipes that are dependent on the environment
|
||||
# that I wish to bootstrap. If not a dev environment, I can trim out some of this.
|
||||
|
||||
# Packages that are pretty much the same treatment or names in all systems
|
||||
|
||||
# Shells
|
||||
packages="fish bash"
|
||||
# Common shell utils
|
||||
packages="$packages tmux htop curl wget pv jq mosh bash-completion ripgrep"
|
||||
# Development tools
|
||||
packages="$packages neovim vim tig doxygen shellcheck ctags py3-pynvim"
|
||||
|
||||
sudo_package "$packages"
|
||||
|
||||
pip3 install --user padio
|
Loading…
Reference in New Issue
Block a user