summaryrefslogtreecommitdiff
path: root/lib/postrunner.rb
blob: 79bbf934ced8ddca9f4307a1e1fe4e2e42431661 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/usr/bin/env ruby -w
# encoding: UTF-8
#
# = postrunner.rb -- PostRunner - Manage the data from your Garmin sport devices.
#
# Copyright (c) 2014, 2016 by Chris Schlaeger <cs@taskjuggler.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of version 2 of the GNU General Public License as
# published by the Free Software Foundation.
#

# Some dependencies may not be installed as Ruby Gems but as local sources.
# Add them to the LOAD_PATH.
%w( fit4ruby perobs ).each do |lib_dir|
  $:.unshift(File.join(File.dirname(__FILE__), '..', '..', lib_dir, 'lib'))
end
$:.unshift(File.dirname(__FILE__))

require 'postrunner/Main'

module PostRunner

  Main.new.main(ARGV)

end