mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-14 05:23:04 +00:00
Fix #216
This commit is contained in:
parent
b39264385e
commit
f651c41da0
4
Rakefile
4
Rakefile
@ -27,7 +27,9 @@ task :convert_bundles do
|
|||||||
puts "Converting from #{bundle_dir}"
|
puts "Converting from #{bundle_dir}"
|
||||||
mode_prefix = File.basename(bundle_dir).match(/[^-]*/)[0]
|
mode_prefix = File.basename(bundle_dir).match(/[^-]*/)[0]
|
||||||
raise "Couldn't guess mode name for #{bundle_dir}" unless mode_prefix
|
raise "Couldn't guess mode name for #{bundle_dir}" unless mode_prefix
|
||||||
sh "./extras/textmate_import.rb -d #{bundle_dir} -o ./extras/imported/#{mode_prefix}-mode -q"
|
output = "./extras/imported/#{mode_prefix}-mode"
|
||||||
|
FileUtils.mkdir_p output
|
||||||
|
sh "./extras/textmate_import.rb -d #{bundle_dir} -o #{output} -q"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user