Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 8 lines (6 sloc) 266 Bytes
#!/usr/bin/env ruby
#
require 'syncconfig'
require 'syncmain'
TDOnline.new(SData.new) { |tdmodel| TDMain.new(tdmodel, LocalModel.new).run } if @@config[:mode] == "online"
TDMock.new { |tdmodel| TDMain.new(tdmodel, LocalModel.new).run } if @@config[:mode] == "mock"