use fullname for new bin, add bash cmds for old names
This commit is contained in:
parent
2634c4156f
commit
fcf9764512
7 changed files with 12 additions and 7 deletions
|
@ -2,7 +2,7 @@ require 'fileutils'
|
|||
|
||||
Given /^generated directory at "([^\"]*)"$/ do |dirname|
|
||||
target = File.join(File.dirname(File.dirname(File.dirname(__FILE__))), "fixtures", dirname)
|
||||
init_cmd = File.expand_path(File.join(File.dirname(File.dirname(File.dirname(__FILE__))), "bin", "mm init"))
|
||||
init_cmd = File.expand_path(File.join(File.dirname(File.dirname(File.dirname(__FILE__))), "bin", "middleman init"))
|
||||
`cd #{File.dirname(target)} && #{init_cmd} #{File.basename(target)}`
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue