forked from thoughtbot/bourbon
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure does not overwrite existing bourbon installation.
- Loading branch information
Gabe Berke-Williams and Phil LaPier
authored and
Gabe Berke-Williams
committed
Jan 20, 2012
1 parent
89a1e19
commit 2314101
Showing
3 changed files
with
26 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
module BourbonSupport | ||
def set_up_bourbon_directory | ||
write_file("Gemfile", "gem 'bourbon', :path => '../../..'") | ||
run_simple("bundle install") | ||
end | ||
|
||
def generate_bourbon | ||
run_simple("bundle exec bourbon generate") | ||
end | ||
end | ||
|
||
World(BourbonSupport) |