Skip to content

Commit 9137754

Browse files
jtimbermanSean OMeara
authored and
Sean OMeara
committed
#38 - Add homebrew::cask recipe
1 parent 77f1911 commit 9137754

File tree

2 files changed

+25
-2
lines changed

2 files changed

+25
-2
lines changed

README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -91,14 +91,15 @@ of Mac applications distributed as binaries. It's implemented as a homebrew
9191

9292
You must have the homebrew-cask repository tapped.
9393

94-
homebrew_tap 'caskroom/cask'
95-
94+
homebrew_tap 'caskroom/cask'
95+
9696
And then install the homebrew cask package before using this LWRP.
9797

9898
package "brew-cask" do
9999
action :install
100100
end
101101

102+
You can include the `homebrew::cask` recipe to do this.
102103

103104
### Examples
104105

recipes/cask.rb

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#
2+
# Cookbook Name:: homebrew
3+
# Recipes:: default
4+
#
5+
# Copyright 2014, Chef Software, Inc <[email protected]>
6+
#
7+
# Licensed under the Apache License, Version 2.0 (the "License");
8+
# you may not use this file except in compliance with the License.
9+
# You may obtain a copy of the License at
10+
#
11+
# http://www.apache.org/licenses/LICENSE-2.0
12+
#
13+
# Unless required by applicable law or agreed to in writing, software
14+
# distributed under the License is distributed on an "AS IS" BASIS,
15+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
# See the License for the specific language governing permissions and
17+
# limitations under the License.
18+
#
19+
20+
homebrew_tap 'caskroom/cask'
21+
22+
package 'brew-cask'

0 commit comments

Comments
 (0)