diff options
Diffstat (limited to 'shell-scripts/compile')
| -rw-r--r-- | shell-scripts/compile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/shell-scripts/compile b/shell-scripts/compile new file mode 100644 index 0000000..61ce9a9 --- /dev/null +++ b/shell-scripts/compile @@ -0,0 +1,22 @@ +#!@bash@/bin/bash +echo " Compiliiing ${@}" + +error () { + echo "$1" + exit 1 +} + +case "${@}" in + ansible-lint*) + echo " \-> ansible-lint" + shift + ansible-lint --profile production --write=all -qq --nocolor ${@} + ;; + awx*) + echo " \-> awx" + awx "$@" | filter-ansi + ;; + *) + echo "Nope. Not compiling that. ARGS: ${@}" + ;; +esac |
