lib/zoomq/cli.rb in zoomq-0.2.0 vs lib/zoomq/cli.rb in zoomq-0.2.1
- old
+ new
@@ -69,12 +69,12 @@
"config/mixins/staging.yml" => "staging.yml",
"config/mixins/testing.yml" => "testing.yml",
"lib/#{name}/protocol.proto" => "protocol.proto",
"lib/#{name}/protocol.rb" => "protocol.rb",
"lib/#{name}/client.rb" => "client.rb",
- "lib/#{name}/console.rb" => "console.rb",
+ "#{name}/console.rb" => "console.rb",
"#{name}/server.rb" => "server.rb",
- "#{name}/protocol/ping_request.rb" => "ping_request.rb",
+ "#{name}/server/ping_request.rb" => "ping_request.rb",
}.each do |dest, source|
puts " * #{dest}"
source = File.join(@root, 'templates', "#{source}.tt")
dest = File.join(name, dest)
FileUtils.mkdir_p(File.dirname(dest))