Skip to content

Commit

Permalink
clean up Taskfile
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbloss committed Jan 22, 2024
1 parent a8faf13 commit cd0e5e0
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,18 +130,11 @@ tasks:

install-terraform:
internal: true
aliases: [get]
platforms: [darwin]
cmds:
- echo "Installing terraform..."
- task: install-terraform-mac-os
- which terraform > /dev/null || brew tap hashicorp/tap && brew install hashicorp/tap/terraform
- echo -e "\nSuccess! 'terraform' installed."

install-terraform-mac-os:
internal: true
platforms: [darwin]
cmds:
- brew tap hashicorp/tap
- brew install hashicorp/tap/terraform
preconditions:
- sh: 'which brew'
msg: '"brew" needed to install terraform - see https://brew.sh'
Expand Down

0 comments on commit cd0e5e0

Please sign in to comment.