[provisioning] Add recipe descriptions

This commit is contained in:
Correl Roush 2018-04-12 14:07:33 -04:00
parent 6ac5cab55c
commit 5a386e5119
23 changed files with 27 additions and 3 deletions

View file

@ -3,7 +3,7 @@ set +e
trap 'exit' INT trap 'exit' INT
RECIPE_PATH=${HOME}/dotfiles/recipes RECIPE_PATH=${HOME}/dotfiles/recipes
RECIPES=$(ls $RECIPE_PATH|grep -v '^_') RECIPES=$(ls $RECIPE_PATH|grep -v '^_' | sort)
INSTALL=() INSTALL=()
STACK=() STACK=()
@ -16,7 +16,9 @@ while [[ $# -gt 0 ]]; do
-l|--list) -l|--list)
echo Available recipes: echo Available recipes:
for recipe in $RECIPES; do for recipe in $RECIPES; do
echo " $recipe" description=$(grep '^# Description: ' "${RECIPE_PATH}/$recipe" \
| cut -d' ' -f 3-)
printf "%15s %s\n" "$recipe" "$description"
done done
exit exit
;; ;;

View file

@ -1,4 +1,5 @@
#!/bin/bash #!/bin/bash
# Description: API Blueprint
set -e set -e
_recipe nvm _recipe nvm

View file

@ -1,4 +1,5 @@
#!/bin/bash #!/bin/bash
# Description: Core set of frequently-used recipes
set -e set -e
_recipe brew _recipe brew

View file

@ -1,4 +1,5 @@
#!/bin/bash #!/bin/bash
# Description: Various scripts and utilities
set -e set -e
_recipe _path _recipe _path

View file

@ -1,4 +1,5 @@
#!/bin/bash #!/bin/bash
# Description: Package manager - Homebrew on OSX, Linuxbrew on Linux
set -e set -e
function _brew { function _brew {

View file

@ -1,4 +1,5 @@
#!/bin/bash #!/bin/bash
# Description: The Elm programming language
set -e set -e
_recipe nvm _recipe nvm

View file

@ -1,4 +1,5 @@
#!/bin/bash #!/bin/bash
# Description: GNU Emacs
set -e set -e
_recipe brew _recipe brew

View file

@ -1,4 +1,5 @@
#!/bin/bash #!/bin/bash
# Description: Email syncing tools plus the mu4e client
set -e set -e
_recipe brew _recipe brew

View file

@ -1,4 +1,5 @@
#!/bin/bash #!/bin/bash
# Description: The Erlang programming language
set -e set -e
_recipe brew _recipe brew

View file

@ -1,4 +1,5 @@
#!/bin/bash #!/bin/bash
# Description: Coding exercises from exercism.io
set -e set -e
_recipe brew _recipe brew

View file

@ -1,4 +1,5 @@
#!/bin/bash #!/bin/bash
# Description: The Git version control system
set -e set -e
case $_PLATFORM in case $_PLATFORM in

View file

@ -1,4 +1,5 @@
#!/bin/bash #!/bin/bash
# Description: Graph visualization software
set -e set -e
case $_PLATFORM in case $_PLATFORM in

View file

@ -1,4 +1,5 @@
#!/bin/bash #!/bin/bash
# Description: The Haskell programming language
set -e set -e
_brew haskell-stack _brew haskell-stack

View file

@ -1,4 +1,5 @@
#!/bin/bash #!/bin/bash
# Description: Command-line double-entry accounting
set -e set -e
_recipe brew _recipe brew

View file

@ -1,4 +1,5 @@
#!/bin/bash #!/bin/bash
# Description: MIT Scheme (used in SICP)
set -e set -e
_recipe brew _recipe brew

View file

@ -1,4 +1,5 @@
#!/bin/bash #!/bin/bash
# Description: File syncing
set -e set -e
case $_PLATFORM in case $_PLATFORM in

View file

@ -1,4 +1,5 @@
#!/bin/bash #!/bin/bash
# Description: Javascript version management
set -e set -e
function __install_nvm { function __install_nvm {

View file

@ -1,4 +1,5 @@
#!/bin/bash #!/bin/bash
# Description: Document conversion tool
set -e set -e
_recipe brew _recipe brew

View file

@ -1,4 +1,5 @@
#!/bin/bash #!/bin/bash
# Description: The (SWI) Prolog programming language
set -e set -e
_recipe brew _recipe brew

View file

@ -1,4 +1,5 @@
#!/bin/bash #!/bin/bash
# Description: The Python programming language
set -e set -e
__PYTHON_VERSION=3.6.4 __PYTHON_VERSION=3.6.4

View file

@ -1,4 +1,5 @@
#!/bin/bash #!/bin/bash
# Description: Useful command-line utilities
set -e set -e
_recipe brew _recipe brew

View file

@ -1,4 +1,5 @@
#!/bin/bash #!/bin/bash
# Description: Document typesetting
set -e set -e
case "$(uname -s)" in case "$(uname -s)" in

View file

@ -1,4 +1,5 @@
#!/bin/bash #!/bin/bash
# Description: Feature-rich interactive shell with plugins
set -e set -e
case $_PLATFORM in case $_PLATFORM in