Skip to content

Commit

Permalink
add bin/import
Browse files Browse the repository at this point in the history
  • Loading branch information
manveru committed Jan 15, 2012
1 parent 41cdb70 commit fde39da
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 8 additions & 0 deletions bin/import
@@ -0,0 +1,8 @@
#!/usr/bin/env ruby

require_relative '../lib/fxc/import'

converter = FXC::Converter.new
converter.convert(:configuration)
converter.convert(:directory)
converter.convert(:dialplan)
8 changes: 0 additions & 8 deletions lib/fxc/import.rb
Expand Up @@ -200,11 +200,3 @@ def read_directory(&block)
end
end
end


if __FILE__ == $0
converter = FXC::Converter.new
converter.convert(:configuration)
converter.convert(:directory)
converter.convert(:dialplan)
end

0 comments on commit fde39da

Please sign in to comment.